Lynn McGuire
2024-10-09 01:40:38 UTC
"Safe C++ is A new Proposal to Make C++ Memory-Safe"
https://www.infoq.com/news/2024/10/safe-cpp-proposal/
"The goal of the Safe C++ proposal is extending C++ by defining a
superset of the language that can be used to write code with the strong
safety guarantees similarly to code written in Rust. The key to its
approach is introducing a new safe context where only a rigorously safe
subset of C++ is allowed."
"The Safe C++ proposal, set forth by Sean Baxter and Christian Mazakas,
originates from the growing awareness that C++ memory unsafety lies at
the root of a large part of vulnerabilities and memory exploits. The
only existing safe language, say Baxter and Mazakas, is Rust, but their
design differences limit interoperability, thus making it hard to
migrate from one language to the other. For example, Rust lacks function
overloading, templates, inheritance, and exceptions, while C++ lacks
traits, relocation, and borrow checking."
Lynn
https://www.infoq.com/news/2024/10/safe-cpp-proposal/
"The goal of the Safe C++ proposal is extending C++ by defining a
superset of the language that can be used to write code with the strong
safety guarantees similarly to code written in Rust. The key to its
approach is introducing a new safe context where only a rigorously safe
subset of C++ is allowed."
"The Safe C++ proposal, set forth by Sean Baxter and Christian Mazakas,
originates from the growing awareness that C++ memory unsafety lies at
the root of a large part of vulnerabilities and memory exploits. The
only existing safe language, say Baxter and Mazakas, is Rust, but their
design differences limit interoperability, thus making it hard to
migrate from one language to the other. For example, Rust lacks function
overloading, templates, inheritance, and exceptions, while C++ lacks
traits, relocation, and borrow checking."
Lynn