I finally could build most of the samples (and eve...
# kotlin-native
l
I finally could build most of the samples (and even succeeded in making coroutines run on macOS on main dispatch queue), but WOW, that was so much errors to dodge. Worth a full post. I wrote a draft as I went through them, I'll share it later.
💯 12
s
Thanks for the exploratory work! Looking forward to the blog post.
k
dispatch queue integration is tricky. We have a simple coroutines implementation that lets you grab a value from another thread, but I would definitely not call it “multithreaded coroutines”. Agree on the idea of pulling samples out of native repo. Once you get used to it, the native repo isn’t so bad, but it’s not a quick process. https://github.com/touchlab/DroidconKotlin/blob/master/sessionize/lib/src/commonMain/kotlin/co/touchlab/sessionize/platform/Functions.kt#L8
👍 1
l
Do you think I should make a repo for the sample that can compile out of the box on macOS? (mac because most people interested in Kotlin/Native want iOS/Android code sharing)
k
Yeah I guess. What are the other options?
l
Save my time to have other fun? (not necessarily that kind of
fun
😅)
k
Oh, I thought you meant vs a repo that wouldn’t build on macOS. I got up very early today. I’m done.
l
No problem 🙂 So no other options, I'll try to make it this weekend, should be fairly easy now.
this weekend ended up being delayed by over 20 days… 😅 As I'm trying to publish something more reusable while having a day job and a life, days pass
j
I thanked God and humans for optic fiber running my connection. 😆
😅 1