3 ms·
I suppose a lot of that can be chalked up to the overall size of the ecosystem (and also the complexity of frontends). There's an exponential effect at work ba
by danenania 5y ago
I suppose a lot of that can be chalked up to the overall size of the ecosystem (and also the complexity of frontends).
There's an exponential effect at work based on the number of libraries that do any one thing. If in python you have (for sake of argument) an average of 5, and in node an average of 25, the downstream effect is that you have massively more dependencies in your tree (many, many, more than 5x), just like you're seeing.
I still don't think the O(n) properties of dependency trees are any different in other languages though. Node just has the largest scale. If python had as many total packages as node, and was also as popular for building frontends, I think you'd have exactly the same situation. That's what I meant by "not in a different category". Node's scale/popularity is in a different category than python's, but its approach to dependencies is basically the same.