News for hackers. Stuff that matters.
Re:New Aarch64 Back End by rstat1 on Thursday July 24, 2025 @10:48PM (#44679034)
>> Linux doesn’t have a single set of headers because programmers in the 80s didn’t know better.

I would argue that it does, but because its apparently illegal (obvious exaggeration alert) to package all the parts of a single entity together in one package, it just seems like it doesn't, where as on Windows there's a single package (the Windows SDK) that contains the majority of the relevant stuff.

I do however 100% agree with you on linking to shared libraries. The way Linux compilers handle that is fucking stupid.

Re:New Aarch64 Back End by forrestthewoods on Thursday July 24, 2025 @10:51PM (#44679057)
I wish you were correct.

https://github.com/ziglang/zig/tree/master/lib/libc/include

There is one set of headers for Windows. One set for macOS. And a fucking kajillion different headers for Linux.

And of course glibc is a fucking dumpster fire that doesn’t let you trivially target and arbitrary version.

Grumble grumble

:(