4 ms·
Coroutines are one of the most prominent features of Kotlin, so it does make sense to bring this up in the discussion. OTOH, I'm unconvinced that virtual threa
by Tainnor 3y ago
Coroutines are one of the most prominent features of Kotlin, so it does make sense to bring this up in the discussion.
OTOH, I'm unconvinced that virtual threads make coroutines, reactive APIs etc. obsolete. Those are about structured concurrency, and with projet Loom, the structured concurrency proposal is still in the incubating stage.
- mikmoila 3y agoSC will be a preview level API in Java 21: https://openjdk.org/jeps/453 https://openjdk.org/jeps/453
- richbell 3y agoThe magic of Kotlin's structured concurrency is that it "just works" without you having to think about it, and it's difficult to screw up. This looks a fair bit more involved, though I'm excited for it nonetheless.