modern-cpp-features VS cppfront

Compare modern-cpp-features vs cppfront and see what are their differences.

modern-cpp-features

A cheatsheet of modern C++ language and library features. (by AnthonyCalandra)

cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler (by hsutter)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
modern-cpp-features cppfront
47 91
20,206 5,688
0.9% 1.1%
6.4 9.3
5 months ago 15 days ago
Python C++
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

modern-cpp-features

Posts with mentions or reviews of modern-cpp-features. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.
  • Ask HN: Catching Up on C++?
    1 project | news.ycombinator.com | 20 Feb 2024
    Just go through this https://github.com/AnthonyCalandra/modern-cpp-features and you should be fine.

    If you also like thorough explanations and graphs, there's https://hackingcpp.com/ that could answer many questions you might have.

    By the way, just in case, bookmark this online C++ reference https://eel.is/c++draft/ for diving in deep waters.

    Good luck!

  • C++23: The Next C++ Standard
    8 projects | news.ycombinator.com | 11 Jul 2023
    I'm a little 10 years out from writing C++ professionally and I found this cheat sheet[0] useful. Basically if you have an inkling of the concept you're looking for, just search on that cheat sheet to find the relevant new C++ thing. Specifically for me, we used Boost for smart pointers which are now part of the stdlib, and threads are now part of the stdlib as well.

    [0] https://github.com/AnthonyCalandra/modern-cpp-features

  • E-Book Kindle sau PDF (engleză) despre C++
    1 project | /r/programare | 8 Jul 2023
  • What proportion of C++ used more often than others?
    2 projects | /r/cpp | 20 May 2023
    A more productive way to go about it would be to ask "What are the features in each version of C++ past C++11 that I should care about the most?" instead. In that case you could take a look at things like https://github.com/AnthonyCalandra/modern-cpp-features and https://github.com/mortennobel/cpp-cheatsheet, see what appeals to you, ignore what does not.
  • What's the best book to learn C++?
    1 project | /r/cpp_questions | 16 May 2023
    Looks like there's a version history here
  • Extended C++ education for advanced/seasoned developers
    1 project | /r/cpp | 8 May 2023
    As someone suggested cppcon and c++ talks, also I would reccomend reading this: https://github.com/AnthonyCalandra/modern-cpp-features and all things in the papers section in this: https://en.cppreference.com/w/cpp/compiler_support
  • Brushing up
    1 project | /r/cpp_questions | 28 Apr 2023
  • What are some good books to learn more about the C++ ecosystem?
    1 project | /r/cpp_questions | 12 Apr 2023
    I've already done a bit of research which has led me to the The Definitive C++ Book Guide & List. From that, I've decided to go over The C++ Programming Language (4th Edition) to learn C++11 and then this GitHub repo to learn the remaining C++14/17/20 features.
  • Ask HN: Is C++ making a comeback? “modern C++” versus Golang/Rust/Zig/Nim?
    2 projects | news.ycombinator.com | 19 Feb 2023
    clickable:

    "Welcome back to C++ - Modern C++" https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...

    "21 New Features of Modern C++ to Use in Your Project" http://www.vishalchovatiya.com/21-new-features-of-modern-cpp...

    "What is modern C++"? https://www.reddit.com/r/cpp_questions/comments/tgs6ir/what_...

    "C++ is the next C++" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p26...

    "modern c++ features" https://github.com/AnthonyCalandra/modern-cpp-features

    C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-..."

    "C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23

  • Functie ca valoare intr-un map
    1 project | /r/programare | 12 Feb 2023

cppfront

Posts with mentions or reviews of cppfront. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-05.
  • 21st Century C++
    3 projects | news.ycombinator.com | 5 Feb 2025
    > And I'm left wondering, is this just how C++ is? Can't the language provide tooling for me to better adhere to its guidelines

    Well, first, the language can't provide tooling: C++ is defined formally, not through tools; and tools are not part of the standard. This is unlike, say, Rust, where IIANM - so far, Rust has been what the Rust compiler accepts.

    But it's not just that. C++ design principles/goals include:

    * multi-paradigmatism;

    * good backwards compatibility;

    * "don't pay for what you don't use"

    and all of these in combination prevent baking in almost anything: It will either break existing code; or force you to program a certain way, while legitimate alternatives exist; or have some overhead, which you may not want to pay necessarily.

    And yet - there are attempts to "square the circle". An example is Herb Sutter's initiative, cppfront, whose approach is to take in an arguably nicer/better/easier/safer syntax, and transpile it into C++ :

    https://github.com/hsutter/cppfront/

  • Herb Sutter's Cppfront 0.8.0
    1 project | news.ycombinator.com | 3 Nov 2024
  • Cppfront v0.8.0
    1 project | news.ycombinator.com | 2 Nov 2024
  • Trip C++Now 2024 – think-cell
    4 projects | news.ycombinator.com | 10 May 2024
    I’m not fond of adding an increasing number of specific compiler options for memory-safety. I love -faddress=sanitizer or -fsanitize. But the historically growing number of warning which need to be turned on is an issue. For example the options -Wconversion, -Wsign-conversion and -Warith-conversion shall be default with C++26. And if your code doesn’t compile use either an older revision or turn it deliberately off (saying: I’m aware, read the handbook, I take the risk).

    I want some of not all the ideas of CPP2/cppfront[1] in C++XX. Finally using #unsafe when needed, like Rust. C++ does evolve over decades, more like other languages.

    [1] https://github.com/hsutter/cppfront

  • GCC 14.1 Release
    2 projects | news.ycombinator.com | 7 May 2024
    CPP2/cppfront:

    https://github.com/hsutter/cppfront

    I hope we see this in C++26 as optional mode i.e. #safe and #unsafe and same for #impdef or so.

  • Compilation of gripping C++ conference talks from 2023
    2 projects | dev.to | 2 May 2024
    C++23 is done. But C++ is not! In this talk, the author shares his personal perspectives on an ongoing and very active evolution of C++, updates on his cppfront experimental compiler, and why compatibility is essential to the further success of the C++ development.
  • Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
    12 projects | news.ycombinator.com | 16 Apr 2024
  • Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
    7 projects | news.ycombinator.com | 31 Mar 2024
  • C++ Safety, in Context
    8 projects | news.ycombinator.com | 12 Mar 2024
    https://github.com/hsutter/cppfront

    But his side project at Microsoft didn't gain traction with gcc, clang, etc and everybody else in the industry. So at this point, the C++ committee will be perceived as "so far behind" ... because there's nothing for them to vote on.

  • Cppfront: Experimental C++ Syntax 2 –> Syntax 1 compiler
    1 project | news.ycombinator.com | 19 Feb 2024

What are some alternatives?

When comparing modern-cpp-features and cppfront you can also consider the following projects:

OOP-in-C - Simple and memory-efficient implementation of OOP in C suitable for real-time embedded systems.

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

vim-c-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)

jakt - The Jakt Programming Language

functools - Functional tools in Go 1.18 using newly introduced generics

exotracker-cpp

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Python is
the 2nd most popular programming language
based on number of references?