verysuchaccount@lemmy.world to Programmer Humor@programming.devEnglish · 8 months agoSometimes I want to call malloc, just as a treatlemmy.worldimagemessage-square27fedilinkarrow-up1485arrow-down18
arrow-up1477arrow-down1imageSometimes I want to call malloc, just as a treatlemmy.worldverysuchaccount@lemmy.world to Programmer Humor@programming.devEnglish · 8 months agomessage-square27fedilink
minus-squareowenfromcanada@lemmy.worldlinkfedilinkEnglisharrow-up1·8 months 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.
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.