Hacker News new | past | comments | ask | show | jobs | submit login

That is true. Rust makes it easy to overuse monomorphisation. There are tools like `cargo-bloat` that find these.

However, most complaints are about size of “Hello World”, which in Rust is due to libstd always having debug info (to be fixed soon), and panic handling code that includes backtrace printing (because print to stdout can fail).

Printing of backtrace is very bloaty, because it parses and decompresses debug info.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: