On 13 November 2013 20:41, Bardur Arantsson <[email protected]> wrote:
> In practice it's much more difficult to be *explicitly*
> async and it should just be delegated to the language/runtime. There are
> some things humans just aren't good at.
I suspect Rust makes asynchronous programming significantly more
bearable. Programming in JS in that style is often painful due to the
noise of all those function() { } spread through the code and bugs
connected with accessing stuff that should only be ready later. Rust
nicely addresses that with shorter syntax for closures/macros and move
semantics.
So an experiment of writing in asynchronous style in Rust and
comparing that with C++/JS/other languages would be very useful to
judge.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev