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.
-
-
Sure but that’s not the only time you context switch.
-
And in exchange for a small stack, you lose the ability to quickly call FFI. We tried M:N threading in Rust and it was not worth it for this reason among others.
- 1 more reply
New conversation -
-
-
(unless you're using io_uring?)
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.