News for hackers. Stuff that matters.
Re:Dropbox’s Exodus from the Amazon Cloud by james_cowling on Monday March 14, 2016 @01:20PM (#11284051)
Yup, Dropbox Infra is mostly a Go shop. It's our primary development language and we don't plan to switch off any time soon.

We're always about the right tool for the job tho, and there are definitely use cases where Rust makes a lot of sense. We've been really happy with it so far.

Re:Dropbox’s Exodus from the Amazon Cloud by SeanDav on Monday March 14, 2016 @01:29PM (#11284111)
Without getting into any sort of religious war, what are typical use cases that make Rust a better choice?
Re:Dropbox’s Exodus from the Amazon Cloud by james_cowling on Monday March 14, 2016 @01:48PM (#11284251)
I think @jamwt did a pretty good job of explaining this in https://news.ycombinator.com/item?id=11283688.

At a high level it's really a memory thing. There are a lot of great things about Rust but we're also mostly happy with Go's performance. Rust gave us some really big reductions in memory consumption (-> cheaper hardware) and was a good fit for our storage nodes where we're right down in the stack talking to the hardware.

Most of the storage system is written in Go and the only two components currently implemented in Rust are the code that runs on the storage boxes (we call this the OSD - Object Storage Device) and the "volume manager" processes which are the daemons that handle erasure coding for us and bulk data transfers. These are big components tho.

Re:Dropbox’s Exodus from the Amazon Cloud by moomin on Monday March 14, 2016 @01:48PM (#11284250)
The really big deal is memory management. There's no GC, and there's pretty precise memory control, and it's not the Shub-Niggurath that dealing with C++ is.

In fact, just think of Rust as C++ for mortals. :)

Re:Dropbox’s Exodus from the Amazon Cloud by rbranson on Monday March 14, 2016 @02:43PM (#11284627)
Curious about the specifics with how you interfaced Go with Rust.
Re:Dropbox’s Exodus from the Amazon Cloud by jamwt on Monday March 14, 2016 @05:51PM (#11285835)
Right now, they talk over RPC. In the future, we might embed Rust libraries as C libraries into go and other languages.
Re:Dropbox’s Exodus from the Amazon Cloud by mandeepj on Monday March 14, 2016 @02:41PM (#11284618)
Was not earlier it was Python? I guess Dropbox even hired Guido van Rossum due to this.
Re:Dropbox’s Exodus from the Amazon Cloud by chirau on Monday March 14, 2016 @02:08PM (#11284399)
What happened to Python?
Re:Dropbox’s Exodus from the Amazon Cloud by jamwt on Monday March 14, 2016 @02:21PM (#11284491)
We still have a ton of Python. James is referring to the infrastructure software layer--storage services, monitoring, etc. That particular part of Dropbox is mostly Go.

But our web controller code, for example, is millions of lines of Python. And we use Python in lots of other places as well.