4 ms·
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 h
by MrBuddyCasino 4y 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.
- native_samples 4y agoKotlin already does it: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.selects/select.html https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutin...
- MrBuddyCasino 4y agoInteresting. 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.