(no title)
oconnor663 | 1 month ago
I can see what you mean with explicit things like thread::spawn, but I think Tokio is a major exception. Multithreaded by default seems like it would be an insane choice without all the safety machinery. But we have the machinery, so instead most of the async ecosystem is automatically multithreaded, and it's mostly fine. (The biggest problems seem to be the Send bounds, i.e. the machinery again.) Cargo test being multithreaded by default is another big one.
usrnm|1 month ago
You're describing golang, and somehow it's fine. Bugs are possible, but not super common
simonask|1 month ago
Garbage collection is the one other known way to achieve memory safety.