Hacker News new | ask | show | jobs
by ekidd 3691 days ago
As somebody who works with one of the companies on that list, I just want to say that, yes, using Rust in production is a great experience. (At least once I made friends with the borrow checker, which took some experimentation.)

We especially like the way that Rust code is simultaneously high-level, strongly-typed and fast. The code feels "crisp", and if the compiler doesn't return any errors, the program will almost always work correctly on the first try. The code refactors easily. Plus the tooling (cargo, unit testing, etc.) is well thought out. And we like the ability to build static binaries against musl-libc and copy them into an Alpine Linux container.

I would happily use Rust again, at least if I wanted C++-level performance and most of the right libraries were already available for a given task. (I can find most basic, useful libraries on crates.io, but if I'm looking for something like an HTTP proxy server using async I/O, I may not necessarily find a mature implementation yet.)

1 comments

Yeah, learning a more safe way to program via the borrow checker can take some time to get ingrained. Bad habbits are hard to break ;) I do know that async-hyper is coming out soon (hyper built atop mio). Personally, I enjoy not having support libraries around for everything - it gives me a chance to implement myself and learn a ton along the way.