i have probably spent a cumulative year of my life debugging weird npm, pip, or make problems
pure javascript projects, pure python projects, pure C projects, it does not matter. i've spent so much time and effort in a slog of developer environment bullshit
"just use the Dockerfile"? a statement uttered by the absolutely deranged
i have spent more time in my day job trying to get NPM to work than i have spent writing code.
this thanksgiving, i spent half my time coding for work (node) and half my time coding with rust. here's what i accomplished:
- work: tried to npm build to a demo page so i could work on frontend for one of our apps
- personal: implemented optimized graph traversal algorithm for a mostly toroidal-lattice graph with sparse skip connections, and a node logic programming language which operates over that graph, plus unit tests. ~1000 lines of code, ~100 dependencies, 0 problems
none of this is because "rust is a better language than javascript". this is because "i have never had a dependency hell with cargo".
i'm sure you can get into dependency hell with cargo, but this is the best thing about rust in my opinion. not anything about speed, security, expression, etc
for these reasons, i am now an annoying RIIR person
i am kind of joking, because rewriting 10K lines of javascript that you can't even run tests on is probably not easy actually
and certainly not easier than just installing the Dockerfile
but i love cargo