News for hackers. Stuff that matters.
Re:How Rust optimizes async/await by kam on Monday August 19, 2019 @10:13PM (#20743320)
Mostly, with the caveat that in single threaded usage, you're paying for the unnecessary overhead of atomic ops on the reference count.

Rust has `Rc`, which is not atomic but `!Send` so the type system ensures that it stays within a thread, as well as the atomic `Arc`.

There are no comments on this comment yet.