Hacker News new | past | comments | ask | show | jobs | submit login

Rocket + Diesel + Tera (all in Rust).

Not supposed to be a short term project, though. Currently working on extending inth-oauth with openid support. I'm only really able to work on the fringes of this idea, though, since:

* Rocket itself is currently on Hyper v0.10, while v0.11 became async. This means various libraries around it are adapting async while Rocket itself won't for some time. Thus, I'm working on the fringes getting them to async.

* Async itself is in flux, because generators should be entering nightly any day now. When that happens having async/await macros available will make a huge difference.

Generally though I do really see Rocket + Rust in general becoming a huge deal in webdev. I've used Rust for so many C++ equivalent roles because of its safety guarantees, and they make development so much faster when you aren't dealing with undefined behavior cropping up in the corners you have to dig through to find. Additionally, the larger a project gets, the more valuable static typing is. Rust even pushes you towards best practices further by pressuring static dispatch and lock-free sharing of data.




How does that stack fare for building REST/GraphQL APIs? I've been meaning to play with Rust, but I'm not sure if using it for a Web project will be worth the trouble.


In general, the web stuff is there, but still in flux: there's a lot of stuff going on.

REST shouldn't be too bad; there are even frameworks dedicated to it, like https://github.com/cargonauts-rs/cargonauts

Can't speak to GraphQL though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: