Remix.run Logo
sirwhinesalot a year ago

Every study on security vulnerabilities has shown that "just don't screw up bro" doesn't scale.

Even if we ignore the absolute clown move of having no bounds checks by default (and std::span doesn't have them at all), it's very easy to get into trouble with anything involving C++ iterators and references.

moralestapia a year ago | parent [-]

>Every study on security vulnerabilities has shown that "just don't screw up bro" doesn't scale.

Let's see them.

sirwhinesalot a year ago | parent [-]

Well, ignoring all the reports from google, microsoft and mozilla, all of whom are part of a cabal spreading misinformation on the percentage of vulnerabilities caused by memory unsafety in C++ (all 3 arrived at around 70% so it's clearly a made up number they colluded to spread), and ignoring the reports from the United States government (probably infiltrated by rust cultists), I can recommend the paper Memory Errors: The Past, the Present, and the Future

ModernMech a year ago | parent [-]

Are you being sarcastic? I genuinely cannot tell.

sirwhinesalot a year ago | parent [-]

Yes, except for the legitimate paper recommendation.