On 25 May 2011 23:00, Graydon Hoare <gray...@mozilla.com> wrote: > - One thread per IO connection, using "parallelism" to handle > concurrent IO problems. Weak, but widely done. This can get bad > depending on IO abstraction. If we wire in 1:1, on *some* OSs this > will be high performance, on some it will not. You can't wave this > away by pointing at C/C++ programs; they hit this wall too and > regularly have to write custom event loops with IO+epoll pumps.
And when one forced to code the event loop it is hard to use the native threads to saturate the cores. Very few applications uses that model and the code that tries it looks messy to say the least. So if Rust can do this right, it would be extremely attractive point of the language. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev