Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. cppfront

    A personal experimental C++ Syntax 2 -> Syntax 1 compiler

    https://github.com/hsutter/cppfront/wiki/Design-note:-Captur...

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
  3. carbon-lang

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

    The roadmap for Carbon [0] mentions wanting to have basic, non-trivial programs written in Carbon by the end of 2024. They're aiming for a v0.1 release in 2025. If it gains traction, they're aiming for a v1.0 beyond 2027.

    I don't think anyone outside Google will seriously adopt this before it reaches v1.0. Even within Google, they may choose other options.

    [0] - https://github.com/carbon-language/carbon-lang/blob/trunk/do...

  4. hylo

    The Hylo programming language

    The evolution of C++ has been a multi-decade history of dealing with difficult reality.

    I have great hope that Herb can create with his cppfront project “The Very Best of C++” to carry that tremendous legacy forward.

    If I was to throw my hat into a “C++ successor”, it would be https://www.hylo-lang.org/ with its “all the safeties” and “tell you when you’re doing it sub-optimal” approach.

  5. STL

    MSVC's implementation of the C++ Standard Library.

    Notice that there are in practice three distinct implementations of the C++ standard library. They're all awful to read though, here's Microsoft's std::vector https://github.com/microsoft/STL/blob/main/stl/inc/vector

    However you're being slightly unfair because Rust's Vec is just defined (opaquely) as a RawVec plus a length value, so let's link RawVec, https://doc.rust-lang.org/src/alloc/raw_vec.rs.html -- RawVec is the part responsible for the messy problem of how to actually implement the growable array type.

    Still, the existence of three C++ libraries with slightly different (or sometimes hugely different) quality of implementation means good C++ code can't depend on much beyond what the ISO document promises, and yet it must guard against the nonsense inflicted by all three and by lacks of the larger language. In particular everything must use the reserved prefix so that it's not smashed inadvertently by a macro, and lots of weird C++ idioms that preserve performance by sacrificing clarity of implementation are needed, even where you'd ordinarily sacrifice to get the development throughput win of everybody know what's going on. For example you'll see a lot of "pair" types bought into existence which are there to squirrel away a ZST that in C++ can't exist, using the Empty Base Optimisation. In Rust the language has ZSTs so they can just write what they meant.

  6. cppfront

    CMake wrapper around the cppfront repository (by modern-cmake)

    Any good CMake integration besides https://github.com/modern-cmake/cppfront?

  7. xmake

    🔥 A cross-platform build utility based on Lua

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The Carbon Language Project has published the first update on Memory Safety

    1 project | news.ycombinator.com | 21 Aug 2025
  • Pluto is a unique dialect of Lua with a focus on general-purpose programming

    4 projects | news.ycombinator.com | 30 Jun 2025
  • Xmake v3.0 released, Improve C++ modules and jobgraph support

    1 project | news.ycombinator.com | 16 Jun 2025
  • The Teal Programming Language

    17 projects | news.ycombinator.com | 15 May 2025
  • Initialization in C++ is bonkers (2017)

    1 project | news.ycombinator.com | 15 May 2025

Did you know that C++ is
the 7th most popular programming language
based on number of references?