News for hackers. Stuff that matters.
Re:Eliminating Memory Safety Vulnerabilities at the Source by adgjlsfhk1 on Wednesday September 25, 2024 @11:45PM (#41654344)
Right but the reason they don't follow those 2 rules is that using them would require not using most C++ libraries that don't follow the rules, and would introduce performance regressions that negate the main reason they chose C++ in the first place.
Re:Eliminating Memory Safety Vulnerabilities at the Source by Dylan16807 on Wednesday September 25, 2024 @11:57PM (#41654403)
This entire post is about a gradual transition. You don't have to avoid libraries that break the rules, you just have to accept that they're outside the safe zone.

For performance, you'll have to be more specific about your shared pointer claims. But I bet that it's a very small fraction of C++ functions that need the absolute best performance and can't avoid those performance problems while following the two rules.