by weinzierl · 3y ago · 0 comments
I cannot agree more with that. As someone who's done a good deal of Java in my day job, I can tell you a thing or two about spawning threads willy-nilly. At least it is easier to avoid in Rust, but I'd still prefer it the other way round: opt-in, instead of opt-out.
More to the point, even using a multi-threaded runtime won't spawn threads willy-nilly. It will default to using N worker threads (where N is the number of CPU cores available).
Doing something extra to get a behavior different than default is the definition of opt-out my friend.
I have not enough experience about the Rust ecosystem but I hope it will successfully avoid a similar fate.