DEV Community

Discussion on: First Week learning rust

Collapse
 
peerreynders profile image
peerreynders • Edited

The executable file size is surprising to me : Rust is 4Mb …

Quote

The executable is 3.5 MiB but there's only 212 KiB of actual executable code, the rest is debug symbols.

Minimizing Rust Binary Size

With C/C++ knowledge Programming Rust 2e may be a better starting point — though if that knowledge is spotty, it could still become a hard slog.


TinyGo - Go compiler for small places


FYI: Zig

Thread Thread
 
lexiebkm profile image
Alexander B.K.

Thanks for the explanation, sir.