3 ms·
The point is to demonstrate what's inherently overhead and what isn't. Rust has effectively the exact same inherent overhead as C does; that's the point. > Nob
by steveklabnik 7y ago
The point is to demonstrate what's inherently overhead and what isn't. Rust has effectively the exact same inherent overhead as C does; that's the point.
> Nobody wants to play with their compiler to get a small binary... If rust can produce small binaries, then it must produce small binaries.
Everything is a tradeoff. Smaller binaries may or may not perform better than larger ones. This is something you need to play with, just like in C. If one single setting made everything the best in all circumstances, it wouldn't be a setting. C compilers have these settings too.
> Languages are typically judged by their defaults.
As I mentioned, the defaults have also been adjusted to help out too.