rust VS carbon-lang

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

rust

Empowering everyone to build reliable and efficient software. (by rust-lang)

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
rust carbon-lang
2,692 177
94,153 32,331
1.2% 0.4%
10.0 9.8
5 days ago 4 days ago
Rust 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.

rust

Posts with mentions or reviews of rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-14.
  • Top 17 Fast-Growing Github Repo of 2024
    11 projects | dev.to | 14 Jun 2024
    Rust
  • vu128: Efficient variable-length integers
    2 projects | news.ycombinator.com | 23 May 2024
    It seems to be more fussy about compiler optimizations, though: https://github.com/rust-lang/rust/issues/125543
  • hyper (Rust) upgrade to v1: Body became Trait
    6 projects | dev.to | 21 May 2024
    apimock-rs is one of my projects on API mock Server generating HTTP/JSON responses to help to develop microservices and APIs, written in Rust.
  • Enlightenmentware
    22 projects | news.ycombinator.com | 20 May 2024
    Rust, the language itself depends on 220 packages: https://github.com/rust-lang/rust/blob/e8753914580fb42554a79...

    If you trust nobody, it is hard to use anything.

    But about your second note, (environment, mismatched dependencies), I would argue that Rust provides the best tooling to solve or identify issues on that area.

  • How does Rust go “from” here “into” there
    2 projects | dev.to | 19 May 2024
    rustc source code
  • Generic constant expressions: a future bright side of nightly Rust
    2 projects | dev.to | 16 May 2024
    First look is into The Unstable Book. Well, it does not look informative but gives us some background from the rust-lang Github project-const-generics. It says:
  • Aya Rust tutorial Part One
    1 project | dev.to | 9 May 2024
    Rust has been around for several years and works well as a system and general programming language. There are many fine introductions to the language, a good place to start is here: https://www.rust-lang.org/
  • Moving your bugs forward in time
    4 projects | dev.to | 8 May 2024
    ‍For the rest of this post I’ll list off some more tactical examples of things that you can do towards this goal. Savvy readers will note that these are not novel ideas of my own, and in fact a lot of the things on this list are popular core features in modern languages such as Kotlin, Rust, and Clojure. Kotlin, in particular, has done an amazing job of emphasizing these best practices while still being an extremely practical and approachable language.
  • Rust to .NET compiler – Progress update
    2 projects | news.ycombinator.com | 3 May 2024
    > There are online Rust compilers and interpreters already if you just want to rapid prototype and develop ideas in Rust

    You are responding to one of the key developers of Rust early on[1], who's been working with the language for 14 years at that point.

    [1] https://github.com/rust-lang/rust/graphs/contributors?from=2... and he's still #16 in commits overall today, despite almost no activity on the rust compiler since 2014.

  • Create a Custom GitHub Action in Rust
    3 projects | dev.to | 28 Apr 2024
    If you haven't dipped your touch-typing fingers into Rust yet, you really owe it to yourself. Rust is a modern programming language with features that make it suitable not only for systems programming -- its original purpose, but just about any other environment, too; there are frameworks that let your build web services, web applications including user interfaces, software for embedded devices, machine learning solutions, and of course, command-line tools. Since a custom GitHub Action is essentially a command-line tool that interacts with the system through files and environment variables, Rust is perfectly suited for that as well.

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 rust and carbon-lang you can also consider the following projects:

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

crubit

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

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

Odin - Odin Programming Language

Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications

go - The Go programming language

Rustup - The Rust toolchain installer

hylo - The Hylo programming language

rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]

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