News for hackers. Stuff that matters.
Re:A Design Space Exploration of Async/Await by tcfhgj on Sunday September 13, 2026 @06:41AM (#49682401)
on the other hand it is trivial to project goroutines onto Rust-tokio async/await:

function func() -> async fn func()

go func -> tokio::task::spawn(func)

func() -> func().await

func_blocking() -> tokio::task::spawn_blocking(||func_blocking()).await

(not sure about cancellation behavior in go though)

There are no comments on this comment yet.