News for hackers. Stuff that matters.
Re:I think Zig is hard but worth it by arp242 on Thursday June 01, 2023 @10:41AM (#36151679)
Zig has a pretty decent LSP.

I'm not so sure a package manager is really all that essential; it can certainly be convenient but especially in the space Zig is looking at it's pretty workable without one (without complex deep dependency trees you can use git submodules or just copy a directory). Or let me put it this way: I never really missed a package manager in Zig.

Re:I think Zig is hard but worth it by ReleaseCandidat on Thursday June 01, 2023 @10:57AM (#36151940)
> I'm not so sure a package manager is really all that essential;

For open source software (libraries or programs, that depend on other libraries or programs), it is essential (if you're not distributing single functions like with Unison). For closed source it doesn't matter that much.

Re:I think Zig is hard but worth it by arp242 on Thursday June 01, 2023 @11:04AM (#36152075)
"cp -r ~/some-lib ~/my-project/" works well enough if some-lib doesn't have dependencies on its own. Or git submodules if you want something a bit more fancy. I do this even for languages with package managers, as it avoids a world of complexity.
Re:I think Zig is hard but worth it by TylerE on Thursday June 01, 2023 @11:21AM (#36152410)
This is pure insanity.
Re:I think Zig is hard but worth it by tuckerpo on Thursday June 01, 2023 @11:33AM (#36152608)
Why? A submodule can be frozen at a given commit. They're trivially updated or rolled-back, too.
Re:I think Zig is hard but worth it by BaculumMeumEst on Thursday June 01, 2023 @03:30PM (#36156168)
> I'm not so sure a package manager is really all that essential

I agree with you, but this is subjective. Not having a package manager will probably turn off many from the language. But it’s OK for the Zig folks to make a call that a lot of people won’t agree with if it doesn’t fit their vision of the language.