4 ms·
Memes typically have some basis in reality. If your project reaches a point where it could benefit from fearless concurrency or better memory control, Rust is p
by likeabbas 4y ago
Memes typically have some basis in reality. If your project reaches a point where it could benefit from fearless concurrency or better memory control, Rust is probably your best bet at the moment.
I could see huge benefits from Kafka and Cassandra being re-written in Rust.
- dominotw 4y agokafka clone redpanda is written in rust ?
- tilt_error 4y agoNo. C++ and the C* (seastar) framework.
- eatonphil 4y agoHmm? I'm pretty sure it's written in C++. See also, their install dependencies script. https://github.com/redpanda-data/redpanda/blob/dev/install-dependencies.sh https://github.com/redpanda-data/redpanda/blob/dev/install-d...
- tilt_error 4y agoThey are rewritten in C++ already; Redpanda and ScyllaDB, respectively. Why waste the effort of rewriting it once again?
- arcticbull 4y agoC++ isn't better in the ways outlined. I'm not necessarily advocating it [1] but the parent's claim was that those programs could benefit from memory safety, thread safety and better concurrency and C++ does not deliver along that axis. [1] https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/ https://www.joelonsoftware.com/2000/04/06/things-you-should-...
- agallego 4y agoI tried in 2017 writing it in rust and found some compiler bugs. I also found compiler bugs in c++ tho to be honest, but I felt more comfortable in c++ so decided to write the first version of it in c++. The huge advantage is that storage engines in particular need to be more conservative in many dimensions and having seen success with scylla, seastar was apealing to me as a 'tried and tested' for storage systems. Prior systems I had built with facebook folly (c++ lib) and had also written my own eventing systems in the past, but the real value is having seastar being battle tested since 2016. Largely it has been the right decision for us as redpanda for it's young age has benefited from the stability of seastar.
- AtlasBarfed 4y ago20 year JVM programmer and current Cassandra user. Rust rewrite of cassandra, if it could reach feature parity with 4.0, would be a good thing. (C++ port already sortof exists with ScyllaDB but they haven't reached feature parity yet)
- likeabbas 4y agoAgreed. Java is great for general purpose programming, I just think everyone can benefit from their systems tools being a little more lean. I can’t tell you how often my teams deal with trying to tune the GC