Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As a Kotlin dev you should still be excited by virtual threads in Java 21. You'll never have to use coroutines again.


I'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).


You 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: