News for hackers. Stuff that matters.
Re:Rust Dependencies Scare Me by mplanchard on Saturday May 10, 2025 @11:17AM (#43946339)
Not necessarily, when other components of the stdlib depend on them
Re:Rust Dependencies Scare Me by whstl on Saturday May 10, 2025 @11:21AM (#43946369)
Also not necessarily with third-party libraries.
Re:Rust Dependencies Scare Me by mplanchard on Saturday May 10, 2025 @11:23AM (#43946380)
True! Although it’s easier to swap out a third party lib that’s using a bloated dependency than it is to avoid something in std.
Re:Rust Dependencies Scare Me by okanat on Sunday May 11, 2025 @08:19AM (#43953290)
Indeed. However, you need to recognize that having those features in stdlib creates a huge bias against swapping them out. How many people in Java actually uses alternative DB APIs than JDBC? How many alternative encoding libraries are out there for JSON in Go? How about async runtimes, can you replace that in Go easily?