News for hackers. Stuff that matters.
Re:Rust Dependencies Scare Me by kibwen on Friday May 09, 2025 @05:41PM (#43941169)
> In some cases the languages make this worse. Go and Rust, for example, encourage everything for a single package/mod to go in the same file.

What? I don't know about Go, but this certainly isn't true in Rust. Rust has great support for fine-grained imports via Cargo's ability to split up an API via crate features.

Re:Rust Dependencies Scare Me by KennyBlanken on Friday May 09, 2025 @06:51PM (#43941657)
What did you expect from someone who thinks that merely including a bunch of library header files but only calling one small function results in hundreds of megabytes of compiled binary code for functions that are never used, and all the functions those functions use?