|
|
|
|
|
by assbuttbuttass
1109 days ago
|
|
> Green threads aren’t easier than async functions. The function colors don’t go away Don't they? Using green threads I can happily call a blocking function in a synchronous context in one place, and run it with a goroutine in another place. With async (particularly Rust's tokio), you need to pass around the "runtime" object in order to call an async function in a synchronous context. |
|