3 ms·
Your are right. Once ES6 is here(when? i dont know), things are going to get better i think, but Go way of dealing with concurrency in general is a lot better
by camus2 13y ago
Your are right.
Once ES6 is here(when? i dont know), things are going to get better i think,
but Go way of dealing with concurrency in general is a lot better than javascript's for now.
- tjholowaychuk 13y agoGenerators will help a tiny bit but certainly not nearly as much as something like coroutines with separate stacks. I know the node-fiber guy(s) had some issues with v8's internal stack usage so it doesn't seem like a near-future possibility to really have light-weight coros in node :(