Heh, found out today that Rust's async model is turning out to be pretty close to how Node works. This example spawns up 4 event loops, and round-robins requests between them. Like with require('cluster')! https://github.com/tokio-rs/tokio-core/blob/master/examples/echo-threads.rs …
Also: a lot of complexity here seems to come from working around OS shortcomings. What if operating systems had a light threading abstraction built in? Would that make sense even? There seem to be many people working on this problem in parallel. So maybe?
-
-
Tldr: I'm impressed by Go's threading model, and wish Rust could schedule work in the same way
Show this threadThanks. 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.