Adding a Rust compiler front end to GCC

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • gccrs

    GCC Front-End for Rust

  • Because there is often some confusion, note that there are two different projects in this space with different approaches.

    The project discussed in the video above is a new front end to GCC (written in C++, as is typical for GCC frontends) and is developed here: https://github.com/Rust-GCC/gccrs

    The other project involves plugging GCC's backend into the existing rustc frontend, and is developed here: https://github.com/rust-lang/rustc_codegen_gcc

    Both projects intend to eventually allow Rust code to make use of GCC. But they will likely appeal to different sets of users: the former project appeals to people invested in the GCC ecosystem who want to use Rust without installing a whole separate toolchain, and the latter to people invested in the Rust ecosystem who want to benefit from GCC's broader target support.

  • rustc_codegen_gcc

    libgccjit AOT codegen for rustc

  • Because there is often some confusion, note that there are two different projects in this space with different approaches.

    The project discussed in the video above is a new front end to GCC (written in C++, as is typical for GCC frontends) and is developed here: https://github.com/Rust-GCC/gccrs

    The other project involves plugging GCC's backend into the existing rustc frontend, and is developed here: https://github.com/rust-lang/rustc_codegen_gcc

    Both projects intend to eventually allow Rust code to make use of GCC. But they will likely appeal to different sets of users: the former project appeals to people invested in the GCC ecosystem who want to use Rust without installing a whole separate toolchain, and the latter to people invested in the Rust ecosystem who want to benefit from GCC's broader target support.

  • 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.

    InfluxDB logo
  • mrustc

    Alternative rust compiler (re-implementation)

  • rustc_codegen_cranelift

    Cranelift based backend for rustc

  • polonius

    Defines the Rust borrow checker.

  • As I understand it, Polonius is still intended to be the next version of the borrow checker.

    The repostory is here: https://github.com/rust-lang/polonius

    There doesn't seem to have been any meaningful development for well over a year.

    There is some very recent discussion on Zulip which makes it look like there are at least two or three people interested in actively working on it.

    https://rust-lang.zulipchat.com/#narrow/stream/186049-t-comp...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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