eleanor @zornsllama·Oct 19, 2021one of my favourite falsehoods people believe about the C programming language: "float and int are 32 bits"9339
eleanor @zornsllama·Oct 19, 2021in reality the specification gives basically no guarantees about this415
eleanor @zornsllama·Oct 19, 2021thanks to C99, there is stdint.h which defines types that have guaranteed sizes2
Brendan Zabarauskas@brendanzab·Oct 19, 2021Gah my university made us use ANSI C. And supplied students an ancient compiler that gave the most unhelpful error messages imaginable. I hope things have improved there since then… 🙄1
Brendan Zabarauskas@brendanzabyeah it's a bit cruel imo :(9:02 AM · Oct 19, 2021·Twitter Web App1 Like