4 ms·
> I think what the gp just wishes Rust had a built-in solution for M:N threading. Yeah, but then they say that they doesn't want concurrency to be based on asy
by Manishearth 10y ago
> I think what the gp just wishes Rust had a built-in solution for M:N threading.
Yeah, but then they say that they doesn't want concurrency to be based on async io primitives, which is exactly what Go does IIRC.
- stymaar 10y ago> which is exactly what Go does IIRC. Under the hood, I guess yes. But in Go, the developer always use blocking API and the runtime does the magic with the async stuff. Some people find it easier to reason about code written this way.
- lobster_johnson 10y agoBoth Go and Erlang are based on blocking, synchronous I/O primitives combined with asynchronous communication between the green threads that use them. It's a lot easier to reason about than event-based I/O.