Skip to content

C++ creator calls for help to defend programming language from 'serious attacks'

theregister.com
7 pointsABS1 comment
On HN

Comments

Both C# and Rust at least have the "unsafe" keyword that let you use raw pointers and such within a defined region. This approach allows you to easily minimize identify the areas of a program that need more scrutiny and prevents some random helper function written carelessly from tromping over some unrelated area. I don't know how C++ as a language can ever get some kind of similar protection (article mentions TrapC, FilC, Mini-C, and Safe C++, need to check them out...) but if it can it's hard to beat the expressiveness of C++ for any possible thing you might want to do.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.