News for hackers. Stuff that matters.
Re:Future of 32-bit platform support in FreeBSD by DinoCoder99 on Tuesday February 20, 2024 @10:49AM (#39442717)
I'd much prefer C users not use long at all. What's wrong with size_t and uint32_t and uint64_t?
Re:Future of 32-bit platform support in FreeBSD by UncleEntity on Tuesday February 20, 2024 @12:14PM (#39443876)
> What's wrong with size_t and uint32_t and uint64_t?

An extra #include and more typing?

Plus, all the C89 users are out of luck...

Re:Future of 32-bit platform support in FreeBSD by int_19h on Tuesday February 20, 2024 @01:43PM (#39445098)
It's trivial to roll your own basic <stdint.h> with those types for existing C89 implementations.

Unless they don't provide the corresponding type natively at all (which can be the case for some 16-bit platforms and 64-bit). But then you have a bigger problem anyway.

Re:Future of 32-bit platform support in FreeBSD by legulere on Tuesday February 20, 2024 @02:45PM (#39445963)
Only with effort Linux was able to be ported to Clang. All compilers that compile Linux should also be able to deal with size_t and consorts.