Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add benefits #1384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,18 @@ Copyright (c) Herb Sutter • See [License](LICENSE)

Cppfront is a compiler from an experimental C++ 'syntax 2' (Cpp2) to today's 'syntax 1' (Cpp1), to prove out some concepts, share some ideas, and prototype features that can also be proposed for evolving today's C++.

Cpp2 today has

- *guaranteed initialization safety* (stronger than in C# or Java),

- *guaranteed type safety* (via `safe is` type queries and `as` casts),

- *bounds safety* via subscript checking, banning pointer arithmetic, and safe-by-construction iteration such as range-for, and

- *lifetime safety static analysis.*

If CVEs in C++ code were 98% lower (2% of today) in the four key buckets -- initialization safety, type safety, bounds safety, and lifetime safety -- we could all sleep better.

## Documentation: [available here](https://hsutter.github.io/cppfront/)

## What's different about this project?
Loading