Message from JavaScript discussions

December 2018

— They can be used in all use cases

— 

Async event loop is level 1 concurrency, true granular context switching is level 2 concurrency (I made up these levels, haha)

— A good use case is fan-out and fan-in

— Https://github.com/Kotlin/kotlinx.coroutines/blob/master/docs/channels.md#fan-out

— Aaaaaaaa jaaaaaaava

— It is the same concepts

— That's what I am doing really, bringing all these to JS

— JS lacks modern programming

— Yeah and to test templates

— Cant stand jaaava

— Me neither

— But concurrency is a very basic CS concept, and JS only has very basic and less useful concurrency in the event loop

Message permanent page