3 ms·
Why didn't you use Rust? (I swear I'm not a troll, and I'm genuinely curious.)
by smt88 11y ago
Why didn't you use Rust? (I swear I'm not a troll, and I'm genuinely curious.)
- sumodirjo 11y agoWhy rust? Why not using Go instead of C++
- smt88 11y agoWhy Rust? Because Rust has excellent concurrency support and memory safety, both of which are useful for databases. For something as low-level and performance-intensive as a database intended to replace MySQL/Postgres, Go wouldn't work because it's garbage collected.
- asimuvPR 11y agoI feel Rust is still not old enough to be used on databases. It is a relatively new language with an amazing future. But it might not be a good choice for a new product that is meant to be the workhorse of a system. C++ is the correct and safe choice under the circumstances. Good question though. Its always beneficial to question architectural choices in order to see the other side of the coin. :)
- smt88 11y agoIt might be because I was watching MemSQL for a long time, but I think Brodlist is probably years away from being used in production. Rust is stable now, so I think there's an acceptable tradeoff between the risk of Rust lacking an ecosystem and the benefits of using Rust. Anyway, it doesn't matter that much in the end. I was just curious.
- goldbrick 11y agoGo is used on many low-level performance-intensive databases, InfluxDB, CockroachDB and etcd just off the top of my head.