News for hackers. Stuff that matters.
Re:Rust for Web by pjmlp on Sunday January 31, 2016 @12:46PM (#11007137)
Why should it be odd?

It should be perfectly natural to use compiled languages to serve web requests.

Rust is a very expressive language, and with its focus on safety a very good candidate for distributed systems.

I for one, given my experience using Tcl for an application server, find odd to use scripting languages for web.

Re:Rust for Web by skewart on Sunday January 31, 2016 @01:30PM (#11007333)
I don't think there's anything inherently wrong with Rust the language in this context, but an API server doesn't really let Rust play to its relative strengths. Response times are more likely to be DB or I/O bound than anything else, so you'reprobably not improving response time much compared to Ruby or Python (of course, that's not always true though). Also, the ecosystem seems immature enough still that you'd inevitably have to reinvent at least a few wheels.

That said, I think it's great to do things like this. Someone has to pave the way. And, if a good API/web ecosystem builds up in Rust there's no reason _not_ to use it.

At the moment though, I think a more _natural_ fit for Rust would be for something a little lower level than an API server.

Re:Rust for Web by 6d65 on Sunday January 31, 2016 @02:47PM (#11007710)
Static linking i.e. having one single binary to drop onto a server, and most likely lower memory consumption(more concurrent users served by a single box). These two could probably be added to a list of reasons.
Re:Rust for Web by bschwindHN on Sunday January 31, 2016 @10:51PM (#11009645)
That is a huge reason I'm interested in Rust for backend web programming. I love the ease of use NPM provides when it comes to installing dependencies. Installing libraries is definitely a pain point in something like a C++ project. Cargo is like NPM but the end result is a native executable.

And if you have a lot of users, Rust can help lower your monthly bill by requiring fewer resources. The safer memory guarantees from the compiler is a great bonus on top of all that.