Login
You're viewing the functional.cafe public feed.
  • Sep 1, 2026, 5:20 AM

    @TheRealPomax the crate is the unit of compilation. Each crate gets compiled fully, and there may often be both debug and release versions. The crates ecosystem is large with lots of dependencies, even if many of those dependencies might only be used for a small part of its total functionality.

    Then when the program is linked, all the unused code is left out and the binary is much smaller.

    💬 1🔄 0⭐ 2

Replies