News for hackers. Stuff that matters.
Re:Rust 1.24 by dbaupp on Friday February 16, 2018 @07:18AM (#16391770)
Async/await can be cheaper given other constraints, e.g. Go ends up using a lot of GC infrastructure to keep stacks small/minimize memory use, which makes FFI to C-style languages expensive.

If syntax is all that matters, then sequential code is great, but there's more than that for many tasks.

(In any case, Go is adding layers of abstraction too: it is exposing a sequential interface over the OS's async APIs, whereas async/await is typically exposing them more directly.)

There are no comments on this comment yet.