by techn00 · 3y ago · 0 comments
- No garbage collector
- Fearless concurrency (thanks Rust compiler)
- Performance
- Error handling
- Crates
- they thought they were gonna use C++ and wanted interop (ended up not using C++?)
- ecosystem: Apache Arrow DataFusion
- "I thought that if we're going to rewrite most of the database anyway, we might as well do it in the best language choice in 2020"
But the real reason might be: "Rust good, Go bad" /s
To be honest, most of the "we started in Go and switched to Rust" stories read to me as "you should have always known that you should have started in Rust" (or C++ or something, though I'd choose Rust out of the viable set of languages here too). It's IMHO always been obvious that Go was not really viable, I mean, sure, you can get farther than you could with starting with Python, but, it's not something Go was even trying to solve.
Not enough, anyway, to make a complete rewrite more profitable over adding features.
After all, it's not as easy if influx was plagued by concurrency bugs, was it?
A move to a safer language than go just doesn't seem worth it, and there's little to no performance gain when you can just throw more hardware for that tiny performance difference.