Y
Hacker News
new
|
ask
|
show
|
jobs
by
MrBuddyCasino
1495 days ago
Channels on the JVM would be sweet. You can do the same with Futures, and its probably not even slower, but it is a lot more clunky. I suspect its never gonna happen, too big a change. Maybe Kotlin will do it.
1 comments
native_samples
1495 days ago
Kotlin already does it:
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutin...
link
MrBuddyCasino
1494 days ago
Interesting. Not quite as clean as if it was a built-in keyword, but close enough. Seems this is still experimental and not available per default.
link
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutin...