News for hackers. Stuff that matters.
Re:Fil-C: A memory-safe C implementation by ummonk on Wednesday October 29, 2025 @02:24PM (#45750992)
It would still be exposed to user code that checks its size with sizeof, but yeah the long would only have numerical values between 2^-63 and 2^63-1.

And yes, there would still be some overhead for storing and propagating the metadata, and struct alignment would change and FFI wouldn't work with longs.

Re:Fil-C: A memory-safe C implementation by ummonk on Thursday October 30, 2025 @07:35AM (#45758881)
Err I meant -2^63, that’s embarrassing.
Re:Fil-C: A memory-safe C implementation by kragen on Saturday November 01, 2025 @11:11AM (#45782266)
Heh. I missed that.