Re:Java 21 makes me like Java again
by ledauphin on Saturday September 16, 2023 @08:26PM
(#37540258)
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).
[ Parent
| on HN ]
Re:Java 21 makes me like Java again
by mike_hearn on Sunday September 17, 2023 @06:28AM
(#37543508)
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.