3 ms·
Well for one, virtual threads would be implicit blocking and this style is explicit.
by jayd16 3y ago
Well for one, virtual threads would be implicit blocking and this style is explicit.
- _ZeD_ 3y agoso kotlin functions are colored while java ones are colorless?
- tadfisher 3y agoJava doesn't have an equivalent to Kotlin's 'suspend fun'. The CoroutineScope abstraction ('launch', 'join', 'await', etc) is also absent, at least until Structured Concurrency gets released [1] and Java gains StructuredTaskScope. 1: https://openjdk.org/jeps/462 https://openjdk.org/jeps/462