4 ms·
I only play with Rust because I'm a language junky, but I don't think Rust has been built so far with the intentions of being a great language for servers. It f
by rubiquity 12y ago
I only play with Rust because I'm a language junky, but I don't think Rust has been built so far with the intentions of being a great language for servers. It feels like a language targeted towards system engineering, which is a bit different than network engineering (which is where I would put web servers).
That said, with a 1:1 threading model, you can still build good abstractions for asynchronous I/O onto those threads. Erlang is kind of like this in that it spawns as many threads as you have cores (unless you tell it otherwise) and uses a thread for async I/O via epoll/kqueue.