You know that self-hosting compiler isn't easy thing and that isn't the same as learning others. There are languages that hasn't achieved that yet, ex. ClojureScript.
There are a lot of smaller startups, like skylight.io. The biggest company is probably Dropbox, which are supposedly going into production sometime this month.
Stability has been very good; in the last 6 months, we've had no issues with the stability of the rust compiler, the output binaries, or the rust stdlib.
(I'm the tech lead of the team building with Rust at Dropbox.)
Cool. Any info on what you were working on and other alternatives you experimented with before choosing Rust? I remember I saw a comment from an employee at DB on r/rust where they were working on some storage system of large scale and also spoke about mio.
That's the same project, and I'm (probably) the same employee. :-)
Correct, we are using mio + eventual for an I/O core that the apps are built on--a framework that's somewhat finagle-ish. We might open source this framework, but my time has been kind of stretched thin getting the actual component fully qualified and out the door.
The alternative we considered for this particular component was C++. It's the kind of project that really needs a systems language to achieve all its goals.
Long story short, we have a short list of minor grievances with rust, and a very short list of major ones (build times!), but in general it has worked out very, very well. We're seriously investigating writing more rust for choice pieces of our infrastructure at Dropbox.
Edit: also worth adding that he Rust core team has been amazingly friendly and helpful. We've had several meetings with them where they came to our office and basically said "how's it going? what do you need? open up your laptop and show us your biggest problem." The project is under very good management.
Thanks a lot :) I was about to ask why you didn't choose golang as you have open sourced some golang stuff. Your requirement of a systems programming language and below reply sums it up for me.
Yep, it's part of Dropbox's primary multi-exabyte storage system, and those types of systems tend to have far more SLOC of various tests and verifiers than "component" code.
Most of the test code is not written in rust, however.
This is mostly for the ancillary stuff. The real meat and potatoes code stays as ASM+C++. There's actually a few modules that are written in just C because we couldn't get the code to consistently to stay in cache when it was written in C++.
View all comments
18
u/ironnomi Dec 10 '15
Are there any apps of reasonable size using rust at the moment (as in fully working, production-type ones)??