4 ms·
As a Kotlin dev you should still be excited by virtual threads in Java 21. You'll never have to use coroutines again.
by bberrry 3y ago
As a Kotlin dev you should still be excited by virtual threads in Java 21. You'll never have to use coroutines again.
- ledauphin 3y agoI'm very curious to see how this works out in the Kotlin ecosystem, given the amount of async code out there (and the associated function coloring issues).
- mike_hearn 3y agoYou can easily combine the two, just use a virtual thread and when you hit a `suspend` function use `runBlocking` to get rid of the suspension.