4 ms·
Agreed. The task system in C# is pretty clean imo. Same with Rust (sans the type system implementation of Futures) and Go's goroutines. Especially compared to C
by John23832 3y ago
Agreed. The task system in C# is pretty clean imo. Same with Rust (sans the type system implementation of Futures) and Go's goroutines. Especially compared to CompletableFuture in Java.
- hocuspocus 3y agoSpecifically, function coloring (C# and Rust in your examples) is not the same as coroutines in Go or virtual threads in Java.
- John23832 3y agoSure function coloring can be a problem, but the gp just spoke about async/await being a mess. Function coloring can be handled by just blocking on an async function. Though the reverse takes some planning.