Hacker News new | ask | show | jobs
by steveklabnik 3265 days ago
* iron isn't using async io which is very important for Techempower

* Tokio-minihttp is #4 overall on the plaintext benchmark there, which is sort of the "what is the max performance" benchmark

I don't know of anyone who is really actively looking at Techempower and optimizing based on it, which is how you win benchmarks.

1 comments

How is the async web server story looking? I keep thinking I'd like to port a small tornado app to Rust, but I'd rather it was fairly easy for some to verify it was behavioural similar.

(Literally, I don't care about the performance, I just want that style of API.)

I don't know now much about tornado's API, so I can't say for sure.

Right now, the async APIs are largely based on Futures. There's an experimental branch of the compiler that implements coroutines and therefore async/await on top of them though, so that syntax may or may not be coming in the future.