News for hackers. Stuff that matters.
Re:Why Not Rust? (2020) by formerly_proven on Saturday December 18, 2021 @08:50PM (#29610621)
> Because cargo is a better package manager in every aspect.

A piece of software can only help with some of the less important questions when you're working with many dependencies.

Re:Why Not Rust? (2020) by adamnemecek on Saturday December 18, 2021 @09:09PM (#29610709)
It handles the insanely tedious parts of package management like version mismatch.
Re:Why Not Rust? (2020) by pjmlp on Sunday December 19, 2021 @03:37AM (#29612391)
It doesn't handle the issue that every tiny piece of functionality is a crate, because everyone wants to have one on their CV.

Also there are no namespaces and integration with other languages boils down to writing our own build.rs scripts.

Re:Why Not Rust? (2020) by formerly_proven on Sunday December 19, 2021 @07:40AM (#29613439)
I'm no node developer, but even with ~100 packages in a Python project it was really rare to see "version mismatch problems". There's probably a lot of talk about it because "just install newest spec'd version recursively" is not technically correct and can violate package version constraints, and it's also probably the only algorithmic thing you can put in a package manager, and optimal solutions are of course NP-hard, making it an interesting thing to work on. But practical impact? Far down the list.
Re:Why Not Rust? (2020) by iopq on Sunday December 26, 2021 @01:09PM (#29694764)
I literally just downloaded a Python program that didn't run because I had the wrong version

In Rust, when you compile an earlier edition with the newer compiler it actually works

Re:Why Not Rust? (2020) by adamnemecek on Sunday December 19, 2021 @09:54AM (#29614383)
I have definitely run into these problem with much smaller projects in both python and js.