Hacker News new | ask | show | jobs
by moomin 3267 days ago
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.)

1 comments

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.