News for hackers. Stuff that matters.
Re:Making Rust binaries smaller by default by oblio on Wednesday January 24, 2024 @07:14AM (#39116371)
> "zero-cost abstractions"

Zero cost in terms of CPU and RAM usage during execution time.

Re:Making Rust binaries smaller by default by 0x000xca0xfe on Wednesday January 24, 2024 @07:50AM (#39116649)
Program size affects disk/file system load time, relocation time, cache utilization, zram speed, and probably many things more.

Nothing is zero-cost if you look closely enough.

Re:Making Rust binaries smaller by default by pdimitar on Wednesday January 24, 2024 @08:47AM (#39117279)
I don't disagree with your premise but bigger binaries lead to significantly more CPU cache churn. (EDIT: or not, see elsewhere in this thread for clarifications)