News for hackers. Stuff that matters.
Re:Ask HN: What novel tools are you using to write web sites... by onebot on Monday April 05, 2021 @09:09AM (#26698434)
What Rust framework/crate are you using for webserver?
Re:Ask HN: What novel tools are you using to write web sites... by kouteiheika on Monday April 05, 2021 @10:24AM (#26699367)
My 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.

Re:Ask HN: What novel tools are you using to write web sites... by nextaccountic on Monday April 05, 2021 @06:31PM (#26705483)
Any chance any of this can be made open source? Sounds like a killer feature
Re:Ask HN: What novel tools are you using to write web sites... by kouteiheika on Monday April 05, 2021 @11:24PM (#26707651)
Possibly. I will make it open source eventually. It's just that's extra work that I don't really have much time for.
Re:Ask HN: What novel tools are you using to write web sites... by onebot on Tuesday April 06, 2021 @08:42AM (#26711071)
Fascinating. Would you like a full-time Rust job? :)
Re:Ask HN: What novel tools are you using to write web sites... by kouteiheika on Tuesday April 06, 2021 @09:09AM (#26711336)
...are you offering one? (: If so I would definitely be interested.
Re:Ask HN: What novel tools are you using to write web sites... by lars_francke on Wednesday April 07, 2021 @02:54PM (#26729304)
We're also looking for Rust developers. E-Mail is in my profile. Happy to talk :)
Re:Ask HN: What novel tools are you using to write web sites... by onebot on Tuesday April 06, 2021 @12:30PM (#26713914)
email me, my email in my profile.
Re:Ask HN: What novel tools are you using to write web sites... by ffpip on Tuesday April 06, 2021 @03:36PM (#26716404)
There 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)