3 ms·
> My primary objection to them is the way they throw away the stack and throw away structured programming as a result, Structured concurrency is orthogonal to
by Nullabillity 5y ago
> My primary objection to them is the way they throw away the stack and throw away structured programming as a result,
Structured concurrency is orthogonal to whether you're using a thread-based or monadic API. Goroutines, for example, are both thread-based and unstructured. On the other hand, you can have concurrency that is structured but still thread-based (like Trio), unstructured but monadic (like Scala's built-in Future type), or both structured and monadic (like Rust's Future type).