[rust-dev] net::tcp::TcpSocket slow?

Patrick Walton pwalton at mozilla.com
Fri Dec 21 09:19:18 PST 2012


On 12/21/12 12:17 AM, Brian Anderson wrote
> In order to have competitive performance in high-throughput applications
> we need to use uv as intended and run our code inside the uv callbacks.
> Right now there is no high-level API for this, so I think that when we
> revisit this stuff one of the first things we need to do is add those
> modules and get them solid and fast. Then rebuild everything on top of
> that.

How do we deal with failure? Do you mean that the code inside the uv 
callbacks should be trusted not to fail and that user-level code should 
still be synchronous?

Patrick



More information about the Rust-dev mailing list