3 ms·
Async/await and any module won't save you from global state, data races, and the fact that you're running on an imperative language with mutable state. Addition
by sph 3y ago
Async/await and any module won't save you from global state, data races, and the fact that you're running on an imperative language with mutable state. Additionally, the ergonomics are not the same, so even if you could replicate the BEAM in Node or any other language, you'd have to be a masochist to do it.
Lastly, the concurrency are primitives to the entire runtime, not a set of external libraries maintained by whoever, which might be incompatible with other libraries you might want to use.
- deleted 3y ago[deleted]