petsoi to Linux@lemmy.ml · 1 year agoCould we make C arrays memory safe? Probably not, but let's try anywaynibblestew.blogspot.comexternal-linkmessage-square22fedilinkarrow-up161arrow-down14cross-posted to: hackernews@derp.foo
arrow-up157arrow-down1external-linkCould we make C arrays memory safe? Probably not, but let's try anywaynibblestew.blogspot.competsoi to Linux@lemmy.ml · 1 year agomessage-square22fedilinkcross-posted to: hackernews@derp.foo
minus-squarePuppyOSAndCoffee@lemmy.mllinkfedilinkarrow-up25arrow-down1·1 year 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