News for hackers. Stuff that matters.
Re:Rust Dependencies Scare Me by sitta on Friday May 09, 2025 @09:01PM (#43942411)
I recently wrote an extremely basic Rust web service using Axum. It had 10 direct dependencies for a total of 121 resolved dependencies. I later rewrote the service in Java using Jetty. It had 3 direct dependencies for a total of 7 resolved dependencies. Absolutely nuts.
Re:Rust Dependencies Scare Me by panstromek on Saturday May 10, 2025 @06:32AM (#43944594)
I don't think number of dependencies is a useful comparison metric here. Java runtime already implements stuff that you have to use libraries for in Rust, and it's a design choice. Rust also has slimmer std. Both languages have different constraints for this.