I’ve never understood the “async I/O is too complicated, why can’t we just use goroutines?” criticism of Rust. You can! They’re called threads, and they work great.
-
-
right. iiuc, it's really about how much memory you have to keep adding threads vs a cheaper things like a green thread/goroutine due to the difference in stack sizes.
-
at any rate, i think that's why i really like the cheap threading model + scheduler. it lets you get away with modeling lots of independent state without having to worry about memory pressure as much.
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.