Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quoting from a reply on an issue in the rust async-wg repo:

> Are people doing this? Does it work? :)

> Kind of every single successful async framework since the inception of eventloops :-)

> libevent, libev, libuv, boost asio, GTK, QT, seastar, nginx, javascript + node.js, dpdk, netty, grizzly, dart, etc.

> Besides Rust the main frameworks which tried to do move tasks between executors are Go and C#'s Threadpool executor (although I think the ASP.NET default executor might have fixed threads).

> Therefore the state of the world is actually more that Rust would need to prove that its approach of defaulting to thread-safe is a viable alternative than questioning the effectiveness of single-threaded eventloops. Their effectiveness in terms of reducing context switches and guaranteeeing good cache hit rates was more or less what triggered people to move towards the model, despite the ergonomic challenges of using callbacks.



I have absolutely no idea what the relevance of that mess is.

Are you arguing rust’s async runtimes should be single threaded, right after having somehow expressed interest in a non-single-threaded runtime?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: