esa@discuss.tchncs.de to Programming@programming.devEnglish · 1 month agoParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comexternal-linkmessage-square13linkfedilinkarrow-up143
arrow-up143external-linkParse, Don’t Validate AKA Some C Safety Tipswww.lelanthran.comesa@discuss.tchncs.de to Programming@programming.devEnglish · 1 month agomessage-square13linkfedilink
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up1·29 days agoC supports passing structs around by value, so there was no need to allocate memory for it on the heap.
C supports passing
struct
s around by value, so there was no need to allocate memory for it on the heap.