Hello world in Rust is huge, and every actual program I've looked at installed dozens of packages for basic functionality.
Turns out all those zero cost abstractions add up to a lot!
Turns out all those zero cost abstractions add up to a lot!
Is there actually a way to see a breakdown of memory usage for a program? If you want to see where all the memory is going?
Flame graphs are a pretty common tool for this (maybe slightly less common than using them for seeing the breakdown of the time spent when running).