3 ms·
Not at all. Erlang's approach to concurrency has been well-researched and validated (Akka). Async, await and friends are mere standardized kludges - popular s
by dschiptsov 10y ago
Not at all. Erlang's approach to concurrency has been well-researched and validated (Akka).
Async, await and friends are mere standardized kludges - popular syntactic sugar without clear semantics and real world connection (explicit message passing mimics how biological systems do self-regulation).
So called enterprise languages, especially C++ are full of similar stuff (kludges).
- orf 10y ago> popular syntactic sugar without clear semantics and real world connection Uhh... the point of them is that its as close to the semantics of synchronous code as possible. That's the 'real world connection' - your single threaded code can become asynchonous with just a few keyword changes. Rather than "sendRequest()" you do "await sendRequest()".