3 ms·
Share-nothing via message passing ala Erlang makes multithreading much more tractable. I daresay it's enjoyable. Async is a decent syntax for simple tasks but
by pton_xd 1y ago
Share-nothing via message passing ala Erlang makes multithreading much more tractable. I daresay it's enjoyable.
Async is a decent syntax for simple tasks but that simplicity falls apart when composing larger structures and dealing with error handling and whatnot. I find it more difficult to understand what's going on compared to explicit threading.
- olalonde 1y ago> Async is a decent syntax for simple tasks but that simplicity falls apart when composing larger structures and dealing with error handling and whatnot. Do you have a concrete example? It has just never really been an issue for me since async/await (callback hell was a thing though).