News for hackers. Stuff that matters.
Re:Perfecting GLFW for Zig, and finding lurking undefined be... by david2ndaccount on Sunday October 31, 2021 @08:50PM (#29061978)
Yet another example of unnecessary undefined behavior in C as a consequence of needing to run on dead hardware. Bit shifting should clearly be defined to be operating on the underlying bits, with the resulting value being whatever that bit pattern would be on the target architecture.
Re:Perfecting GLFW for Zig, and finding lurking undefined be... by justincormack on Monday November 01, 2021 @05:05AM (#29064402)
“Whatever that bit pattern would be on the target architecture” is the original understanding of undefined.