News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by astrange on Friday September 08, 2023 @11:39PM (#37442052)
async/await and structured concurrency are two different things, Swift has an async/await syntax but is still structured concurrency.

The point of async/await is that it converts your function into a reentrant state machine (in a different way than compiling a sync function already turned it into a state machine.) The problem with the usual design is that it uses futures, which are bad because they have dynamic lifetimes.

There are no comments on this comment yet.