petsoi@discuss.tchncs.de to Linux@lemmy.ml · 10 months agoCould we make C arrays memory safe? Probably not, but let's try anywaynibblestew.blogspot.comexternal-linkmessage-square20fedilinkarrow-up157arrow-down14
arrow-up153arrow-down1external-linkCould we make C arrays memory safe? Probably not, but let's try anywaynibblestew.blogspot.competsoi@discuss.tchncs.de to Linux@lemmy.ml · 10 months agomessage-square20fedilink
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·edit-29 months agoModern hardware also has specific instructions to speed up C string operations for the common ways they are implemented. We rely on compiler optimisation for those as well. Why not do the same for floats?
Modern hardware also has specific instructions to speed up C string operations for the common ways they are implemented. We rely on compiler optimisation for those as well. Why not do the same for floats?