HODL VS carbon-lang

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

HODL

A Higher-Level Quantum Oracle Description Language (HODL) (by at2005)

carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README) (by carbon-language)
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
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
HODL carbon-lang
2 185
9 32,807
- 0.5%
2.6 9.9
over 1 year ago 5 days ago
C++ 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.

HODL

Posts with mentions or reviews of HODL. We have used some of these posts to build our list of alternatives and similar projects.

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 2025-02-22.
  • Kickstart insight needed: A new retrofitted C dialect?
    14 projects | news.ycombinator.com | 22 Feb 2025
    Kind of along these lines but for C++: https://docs.carbon-lang.dev/
  • Greg Kroah-Hartman Makes Compelling Case for Kernel Drivers Be Written in Rust
    3 projects | news.ycombinator.com | 20 Feb 2025
    2. There are certain safety problems that simply can't be solved in C++ unless you accept that ABI will be broken and the language won't be backwards compatible.

    Circle (https://www.circle-lang.org/site/index.html) and Carbon (https://docs.carbon-lang.dev/) were both started to address this fundamental issue that C++ can't be fully fixed and made safe like Rust without at least some breaking changes.

    This article goes into more depth: https://herecomesthemoon.net/2024/11/two-factions-of-cpp/

    In the case of the Linux kernel, a lot of the newer features that C++ has delivered aren't _that_ useful for improving safety because kernel space has special requirements which means a lot of them can't be used. I think Greg is specifically alluding to the "Safety Profiles" feature that the C++ committee looks like it will be going with to address the big safety issues that C++ hasn't yet addressed - that's not going to land any time soon and still won't be as comprehensive as Rust.

  • Carbon Copy Newsletter No.5
    1 project | news.ycombinator.com | 16 Dec 2024
  • The Two Factions of C++
    15 projects | news.ycombinator.com | 24 Nov 2024
    People like to always talk about Carbon like that, yet the team is the first to point out anyone that can use something else, should.

    Carbon is an experiment, that they aren't sure how it is going to work out in first place.

    > "If you can use Rust, ignore Carbon"

    https://github.com/carbon-language/carbon-lang/blob/e09bf82d...

    > "We want to better understand whether we can build a language that meets our successor language criteria, and whether the resulting language can gather a critical mass of interest within the larger C++ industry and communit"

    https://github.com/carbon-language/carbon-lang/blob/e09bf82d...

  • Is Carbon Language Moving Towards Success or Self-Destruction? A Case Study in Rapid Deployments
    2 projects | dev.to | 17 Sep 2024
    The Carbon Language repo on GitHub maintains an impressive deployment frequency, consistently pushing updates at a rapid pace. With an average of over 74.67 deployments per month---hitting 79 in July 2024 alone---Carbon is setting the pace for fast, efficient software delivery. But is there a price for going this fast?
  • What's new in C++26 (part 1)
    6 projects | news.ycombinator.com | 7 Sep 2024
    I for one started working on a new project in C++ rather than Rust. I think it's unclear whether Rust is going to be the successor at this point. It's probably never going to pick up in the games industry, QT is C++ (and Rust bindings will always be second class or they could end up unmaintained), has better compile times and is said to be undisputed when it comes to high performance. Obviously the tool for the job factor is most critical.

    Career wise, many people are picking up Rust and almost no one is picking up C++, while experienced C++ devs either retire or switch to a higher level language due to landscape change. I would trust supply and demand to be in favour of C++ 10 years from now.

    There are also attempts to make C++ more memory safe like Carbon[1] or Circle compiler [2]. If they succeed, why would anyone want to switch to Rust? Also Rust is not ideal for security from a different perspective - I think the lack of a package manager is one C++ strongest points. After working for 9 years with npm, you really appreciate that the dependency you install is usually just a single dependency (even an option for a single header file is common), when there's a package manager, people will abuse it (like install a package with 3 dependencies of its own for something that could be 50 LOC copy-paste) and managing the security of the supply chain is nearly impossible (it will be a legal requirement soon in EU though).

    Anyway, I wanted to ask. How is the contracting market looking in C++ world? I'm guessing it depends on the domain heavily? I'm mainly asking about QT and anything that would be desktop / mobile apps / systems programming except video games, but I'm curious in general.

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

    [2] https://github.com/seanbaxter/circle

  • Carbon Copy Newsletter No.3
    1 project | news.ycombinator.com | 20 Jun 2024
  • 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

What are some alternatives?

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

qiskit-aer - Aer is a high performance simulator for quantum circuits that includes noise models

rust - Empowering everyone to build reliable and efficient software.

elena-lang - ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces

Odin - Odin Programming Language

jank - The native Clojure dialect hosted on LLVM with seamless C++ interop.

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

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
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

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