2 ms·
I don't believe Zig wants to have "package manager" at all. It has the ability to pull in a package/module. However, I believe that having a "package manager"
by bsder 3y ago
I don't believe Zig wants to have "package manager" at all.
It has the ability to pull in a package/module. However, I believe that having a "package manager" is explicitly an anti-goal.
I'm in agreement. It's become pretty clear that having any form of "package repository" without also allocating the necessary manpower to curate that repository causes disasters.
- wavemode 3y ago> I don't believe Zig wants to have "package manager" at all. ? it's literally one of the project's main milestones: https://github.com/ziglang/zig/projects?type=classic https://github.com/ziglang/zig/projects?type=classic
- bsder 3y agoWe're probably talking past one another due to my imprecision: Zig can manage packages. It can pull in a Zig package using a reference to a Git repository on GitHub, for example. It can pin that to a hash and cache it. It can specify dependencies. This is, strictly speaking, a "package manager" but is not what people normally think of when you mention that. Zig does not have blessed mechanisms that pull from a central repository of packages. Having a central repository is normally what people think of when they talk about a "package manager" (node, cargo, deno, etc.). Yes, those managers could conceivably not use the central repository and specify everything explicitly, but nobody ever uses them like that.
- papichulo2023 3y agoSo same as Golang? Still package manager though.
- baby 3y agoThat sounds like a horrible decision
- rofrol 3y agoit has package manager as golang has. Just no central repository of packages. https://ziggit.dev/t/build-system-tricks/3531 https://ziggit.dev/t/build-system-tricks/3531