News for hackers. Stuff that matters.
Re:How to think about `async`/`await` in Rust by ilyt on Wednesday July 05, 2023 @12:13PM (#36602536)
I think that's spot on.

More mature model of that is message passing like in Erlang or in a bit more bastardized version, in Golang. And it works there because you can write "normal" code with no colored functions and other baggage that JS-like async brings with it. And it works beautifully on multi-core machines.

async is just strict, shitty subset of that where you're limited either by bad implementation (any single-process scripting language) or language limitations (no GC in Rust would make Erlang/Go-like message passing much harder).

There are no comments on this comment yet.