cppfront VS carbon-lang

Compare cppfront vs carbon-lang and see what are their differences.

cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler (by hsutter)

carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README) (by carbon-language)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cppfront carbon-lang
88 177
5,197 32,331
- 0.4%
9.5 9.8
about 14 hours ago 4 days ago
C++ C++
GNU General Public License v3.0 or later 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.

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 2024-05-10.

carbon-lang

Posts with mentions or reviews of carbon-lang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-02.
  • Circle C++ with Memory Safety
    2 projects | news.ycombinator.com | 2 Jun 2024
    Thanks for clarifying that point. It's worth pointing out that the safety strategy doc[0] mentions that

    >A key subset of safety categories Carbon should address are:

    >[...]

    >Data race safety protects against racing memory access: when a thread accesses (read or write) a memory location concurrently with a different writing thread and without synchronizing

    But then later in the doc it says

    >It's possible to modify the Rust model several ways in order to reduce the burden on C++ developers:

    >Don't offer safety guarantees for data races, eliminating RefCell.

    >[...]

    >Overall, Carbon is making a compromise around safety in order to give a path for C++ to evolve. [...]

    One could read this as saying that guaranteed safety against data races is not a goal. Perhaps this doc could be reworded? Maybe something like "Carbon does not see guaranteed safety against data races as strictly necessary to achieve its security goals but still we still currently aim for a model that will prevent them."

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

  • Gio UI – Cross-Platform GUI for Go
    15 projects | news.ycombinator.com | 18 May 2024
    It's even a core point for Carbon, their hopeful C++ replacement

    Under language goals on their readme,

    > We also have explicit non-goals for Carbon, notably including:

    > * A stable application binary interface (ABI) for the entire language and library

    > * Perfect backwards or forwards compatibility

    There's also this blurb

    > Our goals are focused on migration from one version of Carbon to the next rather than compatibility between them. This is rooted in our experience with evolving software over time more generally and a live-at-head model. Any transition, whether based on backward compatibility or a migration plan, will require some manual intervention despite our best efforts, due to Hyrum's Law, and so we should acknowledge that upgrades require active migrations.

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

  • Carbon Copy Newsletter No.2
    1 project | news.ycombinator.com | 8 Apr 2024
  • Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
    7 projects | news.ycombinator.com | 31 Mar 2024
    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...

  • Carbon Language Newsletter, the Carbon Copy, February 2024
    1 project | news.ycombinator.com | 2 Feb 2024
  • Odin Programming Language
    23 projects | news.ycombinator.com | 1 Jan 2024
    Carbon was started by Chandler Carruth, at Google, but they wanted to move it to broader governance quickly. It's not under the Google GitHub today, but its own org.

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

  • C++ Should Be C++
    3 projects | news.ycombinator.com | 19 Dec 2023
    What do you think about Carbon[1]? I am hopeful.

    [1] https://github.com/carbon-language/carbon-lang

  • The NSA advises move to memory-safe languages
    2 projects | news.ycombinator.com | 12 Dec 2023
  • Carbon Language: An experimental successor to C++
    1 project | news.ycombinator.com | 4 Nov 2023
  • Toward a TypeScript for C++"
    8 projects | news.ycombinator.com | 4 Nov 2023
    https://github.com/carbon-language/carbon-lang/blob/trunk/do...

    next year 0.1 will be usable, 1.0 is about 3 years away, sigh, back to my rust fight

What are some alternatives?

When comparing cppfront and carbon-lang you can also consider the following projects:

jakt - The Jakt Programming Language

rust - Empowering everyone to build reliable and efficient software.

serenity - The Serenity Operating System 🐞

crubit

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Odin - Odin Programming Language

exotracker-cpp

go - The Go programming language

LoopModels - "Full speed or nothing." - James Hetfield

hylo - The Hylo programming language

CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++

Rustler - Safe Rust bridge for creating Erlang NIF functions

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured