the virus definition is not written in c++. And even then, the problem was that the file was full of zeros.
Comment on CrowdStrike Isn't the Real Problem
SparrowRanjitScaur@lemmy.world 3 months ago
C++ is the problem. C++ is an unsafe language that should definitely not be used for kernel space code in 2024.
vrighter@discuss.tchncs.de 3 months ago
SparrowRanjitScaur@lemmy.world 3 months ago
Maybe I heard some bad information, but I thought the issue was caused by a null pointer exception in C/C++ code.
vrighter@discuss.tchncs.de 3 months ago
They said it was a “logic error”. so i think it was more likely some divide by zero or something like that
0x0@programming.dev 3 months ago
No one does, it’s not public yet, if ever. This is close enough.
The real problem was, among others, lack of testing, regardless of the programming language used. Blaming C++ is dumb af. Put a chimpanzee behing the wheel of a Ferrari and you’ll still run into… problems.
SparrowRanjitScaur@lemmy.world 3 months ago
I’ll reiterate, if it was a null pointer exception (I honestly don’t know that it was, but every comment I’ve made is based on that assumption, so let’s go with it for now) then I absolutely can blame C++, and the code author, and the code reviewer, and QA. Many links in the chain failed here. But C++ is not a memory safe language, and while it’s had mass improvements in that area in the last two decades, there are languages that make better guarantees about memory safety.
timewarp@lemmy.world 3 months ago
Let’s rewrite everything in Rust. That’ll surely solve the world’s problems.
SparrowRanjitScaur@lemmy.world 3 months ago
Thank you. Finally someone understands. Jokes aside though, I think we can acknowledge that C/C++ have caused decades of problems due to their lack of memory safety.