Building a Cloud Database from Scratch: Why We Moved from C++ to Rust (2022)
> But as more and more engineers joined us, some shortcomings
> of C++ came to bite us: unreadable coding style, memory leak,
> segmentation fault, and more.* unreadable coding style: This is not a C++ problem.
* memory leak: Memory leak is an old C++ problem, since C++11 there is no reason for not using smart pointers.The only point that could be attributed to C++ is the segfaults perhaps, due to its lack of safety. But your other two points made me skeptical about Rust bringing you much benefit. I am specially concerned about throwing away months worth of code. Rewriting everything from scratch is what newbies love to do and will most likely get you in the same mess you were in. Try to learn with the error of others [1]. And btw, the problem is usually who writes the code and not which language is used.[1] https://www.joelonsoftware.com/2000/04/06/things-you-should-...