
seen from Maldives
seen from United States
seen from United Kingdom

seen from United States
seen from Germany
seen from Ireland
seen from United States

seen from Malaysia

seen from Croatia
seen from Maldives
seen from Singapore
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States

seen from Maldives
seen from Russia
seen from United States

seen from United States
There's a quirk in C where the cases of a switch statement can be wrapped in another control construct. A few years ago, I remember seeing an example of a piece of code that took advantage of this by wrapping the cases in a do-while loop as a way of (partially) unrolling the loop, but I'd forgotten what it was called, and couldn't seem to find it anywhere, despite searching many times.
It's called Duff's Device, and it's evil, and hideous, and brilliant, and I love it, and I'm so glad that I finally found it again.
God mother fucking hate memory management mother fucker
Wdym I can't just malloc memory forever???? That'll surely be fineeee
BRB gonna invent hypercube C
It's a time-agnostic programming language
You can run code last week
I have finally written an ASM function. I am now 10 times hotter
working with memory in low level programming beyond malloc and free is so funny
like, what do you mean the OS actually reserves 4kb on an alloc and gives me the size I want, instead of only reserving the 16 bytes I ordered?
and what was that? I need to ALIGN my pointers in a arena? THEY'RE ALREADY ALIGNED IN 8 BITS BRO, THATS THE WHOLE REASON WE INVENTED THE BYTE
oh you gotta be kidding me. I need a header for every allocation in a stack allocator? at least is something small right?... 8 BYTES???? FOR EACH ALLOCATION???? IN THIS ECONOMY????