News for hackers. Stuff that matters.
Re:C Macro Reflection in Zig – Zig Has Better C Interop Than... by Joker_vD on Tuesday July 30, 2024 @10:48AM (#41109697)
Why would anyone want to integrate with the OS package manager? Windows, as you've said yourself, doesn't even have one (and thank goodness for that) while on Linux, the distributed packages are normally about 2 to 4 years out of date — unless you discover and use specific 3rd-party repositories at which point what's even the point then? Just use the language's CPAN/PyPI/Hex/Crates.io/etc. analogue.
Re:C Macro Reflection in Zig – Zig Has Better C Interop Than... by bluGill on Tuesday July 30, 2024 @10:55AM (#41109767)
> Why would anyone want to integrate with the OS package manage

Because if they don't integrate you end up with several different versions of the same package installed. When you program grabs the wrong version how do you fix it. Now what if you are in support trying to help a customer.

> on Linux, the distributed packages are normally about 2 to 4 years out of date

Maybe you need to find a different distribution. Some make it a point to be out of date. Some make it a point to be up to date.

Re:C Macro Reflection in Zig – Zig Has Better C Interop Than... by kitkat_new on Tuesday July 30, 2024 @08:08PM (#41115310)
Windows has winget