3 ms·
Linux apparently provides a similarly named set of sized integer types to Rust, ie: s8 u8 s16 u16 s32 u32 s64 u64 But of course getting C programmers to use th
by tialaramex 5y ago
Linux apparently provides a similarly named set of sized integer types to Rust, ie: s8 u8 s16 u16 s32 u32 s64 u64
But of course getting C programmers to use these integer types rather than the ones they grew up with isn't easy.
- foobiekr 5y agoI did a lot of C - a lot - in the mid-90s through the mid/late 2000s and have never seen any sizable C code base where explicit sizes were not the norm throughout - u_int32_t etc. I think this is not the problem, it's the implicit conversions.
- masklinn 5y agoI don't think that stops C's implicit conversions either, does it?
- dezgeg 5y agoIt doesn't. They are in the end just typedefs to the basic types like int, long, etc.