Integer types Memes

Posts tagged with Integer types

Data Types

Data Types
The evolution of a developer: from blissfully using i8 and u32 like a normal human being, to awkwardly typing int8_t and uint16_t because you read best practices once, to finally achieving enlightenment by pulling up a 47-column compatibility table just to figure out if your int is 16 or 32 bits on this particular Tuesday. C and C++ really said "let's make integer sizes platform-dependent" and then watched the world burn. Nothing says "portable code" quite like needing a PhD to understand whether long is 32 or 64 bits depending on whether you're compiling for Windows, Linux, or a toaster running embedded firmware. Meanwhile, Rust devs are smugly sipping their coffee with their explicit i32 and u64 types, wondering what all the fuss is about.

Embedded Engineers When I Store A 1-10 Counter In An Int

Embedded Engineers When I Store A 1-10 Counter In An Int
OH. MY. GOD. The AUDACITY of using a WHOLE INTEGER for a measly 1-10 counter when you could stuff those bits into the dark corners of other variables! 💅 Embedded engineers are LITERALLY having heart palpitations right now. In their world, every byte is sacred, every bit a precious child that must be optimized to within an inch of its life. Meanwhile, you're over here WASTING 24+ PERFECTLY GOOD BITS like some kind of memory billionaire throwing cash from a helicopter! The sheer memory gluttony. The optimization blasphemy. I can't even.