https://kotlinlang.org logo
Title
r

Rechee Jozil

01/15/2021, 1:30 AM
This is scary. I just published my first blog 🙏🏼 . I breakdown the suspend function. Let me know your thoughts! https://recheecodes.com/kotlin-coroutines-suspend-function/
🙌 1
g

Guillermo Alcantara

01/15/2021, 3:01 AM
I like it. I think you have a typo; you are missing a negation in «Of course my post-compiler example is 100% accurate, but it's pretty close.» Best of luck!
i

Ilmir Usmanov [JB]

01/15/2021, 3:32 AM
I wrote the ultimate breakdown, I hope this will be useful for you, since you seem to like internals: https://github.com/JetBrains/kotlin/blob/4f1de8531fb70fe8d72836e1192db57a33d88a38/[…]c/org/jetbrains/kotlin/codegen/coroutines/coroutines-codegen.md
🙌 2
r

Rechee Jozil

01/15/2021, 3:42 AM
@Ilmir Usmanov [JB] wow thank you so much! I didn't know there was such a doc!! I got my info from talks and the coroutines KEEP 🙂. Maybe consider copying that over to coroutines repo (even if coroutines lib isn't the codegen). Either way appreciated shall read at some point!
i

Ilmir Usmanov [JB]

01/15/2021, 3:44 AM
You are welcome! The intent was and still is to have it in the main kotlin repo, next to coroutine codegen itself, so I and my colleagues can open the doc when we need it.