Rust is not a good C replacement

Rust is not a good C replacement

I have a saying that summarizes my opinion of Rust compared to Go: “Go is the result of C programmers designing a new programming language, and Rust is the result of C++ programmers designing a new programming language”. This isn’t just a metaphor – Go was designed by plan9 alumni, an operating system written in C and the source of inspiration for many of Go’s features, and Rust was designed by the folks at Mozilla – whose flagship product is one of the largest C++ codebases in the world. It hasn’t completely replaced C, but it has made a substantial dent in its problem space – more than I can really say for Rust (which has made similar strides for C++, but definitely not for C).

Source: drewdevault.com