News for hackers. Stuff that matters.
Re:Is Rust web yet? Not really by b0b_d0e on Wednesday May 28, 2014 @01:45PM (#7811707)
For some reason, no one has mentioned that there is a very usable rust REST framework right now that you can try out https://github.com/Ogeon/rustful I'm not the author of this, so I can't tell you what features are missing, but the features that are there work very well from what I can tell. When it comes to web frameworks in Rust, there aren't many options yet (as stated in are we web yet) but the few that are out there are in active development.
Re:Is Rust web yet? Not really by drbawb on Wednesday May 28, 2014 @02:03PM (#7811822)
I'm happily using the ZeroMQ bindings to serve an HTTP and WebSocket service w/ Mongrel2 servicing requests and Rust providing the handlers. Not a pure Rust stack, but it does a very admirable job serving responses for such a young language.

(I also love have fallen in love w/ how mongrel2 handles websockets. I find it fits very well w/ Rust's message passing between tasks.)

So it's not like writing a webservice in Rust is completely impossible. I will admit that "we aren't web yet," but I'm glad to see the community working on it.

Re:Is Rust web yet? Not really by idlewan on Wednesday May 28, 2014 @04:23PM (#7812608)
That's the exact path I've taken in another language (Nimrod).

Mongrel2 is a really good way to have all the nitty-gritty of http handled while you worry exclusively about two ZeroMQ sockets (from and to Mongrel2). It makes it a whole lot easier and safer.

Re:Is Rust web yet? Not really by steveklabnik on Wednesday May 28, 2014 @01:49PM (#7811745)
> For some reason

Discovery of Rust projects is super hard right now. I'm quite into both REST and Rust and didn't know about your framework :/

Re:Is Rust web yet? Not really by b0b_d0e on Wednesday May 28, 2014 @02:03PM (#7811823)
> Discovery of Rust projects is super hard right now.

Good point! But I'm not sure of any other way to get projects noticed besides word of mouth and posting about them on sites like Hacker news and such. In fact that is where I first heard about rustful.

> didn't know about your framework

My framework is actually at https://github.com/jroweboy/oxidize/tree/incoming (master branch is sorely out of date) and I feel I still have a long way to go before I get that finished :)