petsoi@discuss.tchncs.de to Linux@lemmy.ml · 2 years agoCould we make C arrays memory safe? Probably not, but let's try anywaynibblestew.blogspot.comexternal-linkmessage-square22linkfedilinkarrow-up159arrow-down14
arrow-up155arrow-down1external-linkCould we make C arrays memory safe? Probably not, but let's try anywaynibblestew.blogspot.competsoi@discuss.tchncs.de to Linux@lemmy.ml · 2 years agomessage-square22linkfedilink
minus-squarePuppyOSAndCoffee@lemmy.mllinkfedilinkarrow-up24arrow-down1·2 years agowhaat…c arrays are safe, just make sure to avoid bugs & use cases that make them unsafe! ;P imo, when safety is required, use a diff language with in grammar options. https://ziglearn.org/chapter-1/#runtime-safety
whaat…c arrays are safe, just make sure to avoid bugs & use cases that make them unsafe! ;P
imo, when safety is required, use a diff language with in grammar options.
https://ziglearn.org/chapter-1/#runtime-safety