Re:Ask HN: Is there a reason every language comes with it's ...
by gwbas1c on Sunday February 19, 2023 @11:32PM
(#34864918)
If it was that simple you'd see languages coalesce around 1-3 winners, kinda like what's happened with every IDE under the sun integrating with git.
A lot of this has to do with the semantics of how a language imports its dependencies.
For example: Look deeply into a NuGet package. It often has multiple builds, because in the .net ecosystem, 3rd party libraries are always dynamically linked. These different builds can be different versions of .net, and may include native dlls for different instruction sets.
Npm and cargo tend to bring in source code. Cargo lets you suck in a git repo directly. This is totally different than .net; again because these systems are source code based.
A lot of this has to do with the semantics of how a language imports its dependencies.
For example: Look deeply into a NuGet package. It often has multiple builds, because in the .net ecosystem, 3rd party libraries are always dynamically linked. These different builds can be different versions of .net, and may include native dlls for different instruction sets.
Npm and cargo tend to bring in source code. Cargo lets you suck in a git repo directly. This is totally different than .net; again because these systems are source code based.