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?
Show this thread -
Tldr: I'm impressed by Go's threading model, and wish Rust could schedule work in the same way
Show this thread
End of conversation
New conversation -
-
-
They way I see it node and golang are specialists here, they were built for this. In case of rust is more like 'we now get to do async io' too
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.