Why Are Rust Executables So Large (2016)

Why Are Rust Executables So Large (2016)

You remember that Rust is probably the sole language that may possibly displace C++, and C++ is noted for its code bloat; would that mean Rust failed to fix one of C++’s big problems? Before looking at more obscure areas, this is perfect time to admit that I was cheating with the size of C and C++ binaries. The fair (well, fairer) comparison would be as follows:

Also, the Rust binary needs to be rebuilt:

Okay, so it seems that Rust was actually far, far better than C and C++.

Source: lifthrasiir.github.io