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.
-
-
Add some zeroes then. At some point you run into the virtual memory / stack size issue. Unless you're suggesting running rust with a 4KiB thread stack. Granted it probably doesn't matter that much for most people.
-
Stack sizes are a property of GC, not of the threading model. I agree regular Rust threads would be more scalable if the language had GC. But that’s independent of the choice of OS vs. green threads.
- 1 more reply
New conversation -
-
-
Thousands yeah, millions not really...and even then your program would be nicer to the kernel scheduler if it didn't clog it up with a bunch of mostly-unrunnable tasks.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.