minus-squareowenfromcanada@lemmy.worldtoProgrammer Humor@programming.dev•Sometimes I want to call malloc, just as a treatlinkfedilinkEnglisharrow-up1·1 year agoI’d effectively gain the advantage of dynamic allocation by using a union (or just a generic unsigned char buffer[16384] and use it twice). Mostly the same thing as a malloc. linkfedilink
I’d effectively gain the advantage of dynamic allocation by using a union (or just a generic
unsigned char buffer[16384]
and use it twice). Mostly the same thing as a malloc.