8 ms·
What Rust framework/crate are you using for webserver?
by onebot 6y ago
What Rust framework/crate are you using for webserver?
- kouteiheika 6y agoMy own. (: In general I was a little frustrated with the state of Rust's web server ecosystem since it has, what I personally call, the NPM syndrome. Pulling a single crate will often pull along with it hundreds of dependencies, and murder your compile times. I know that those dependencies are often necessary, but during development I do not need all of that. So I made my own. But of course it's generally a bad idea to run your own HTTP stack in production. So my framework works like this - it can be compiled either in development mode, or in production mode. In development mode it uses my own crappy HTTP stack and my own crappy async executor and has *zero* dependencies, and compiles super fast. In production mode it uses `hyper` and `tokio`. In both cases the API is exactly the same. So I can have my cake and eat it too.
- nextaccountic 6y agoAny chance any of this can be made open source? Sounds like a killer feature
- kouteiheika 6y agoPossibly. I will make it open source eventually. It's just that's extra work that I don't really have much time for.
- onebot 6y agoFascinating. Would you like a full-time Rust job? :)
- kouteiheika 6y ago...are you offering one? (: If so I would definitely be interested.
- onebot 6y agoemail me, my email in my profile.
- ffpip 6y agoThere is no email in your profile. You've probably added an email to your HN account, not to your profile. To make it appear in your profile, add it to the "about:" section in your account settings (the page you go to when you click your own username)
- lars_francke 5y agoWe're also looking for Rust developers. E-Mail is in my profile. Happy to talk :)