GCC Front-End For Rust

Alternative Rust Compiler for GCC

View the Project on GitHub

GCC Front-End For Rust

This is a full alternative implementation of the Rust language on top of GCC with the goal to become fully upstream with the GNU toolchain.

As this is a front-end project, the compiler will gain full access to all of GCC’s internal middle-end optimization passes which are distinct from LLVM. For example, users of this compiler can expect to use the familiar -O2 flags to tune GCC’s optimizer. Going forward, we will be happy to see more LLVM vs GCC graphs in respect to compilation speed, resulting code size and performance.

The project is still in an early phase with the goal to compile the offical Rust test suite. While there is no borrow-checker included with the compiler yet, we plan to integrate with the polonius effort and leverage its borrow-checking algorithms.

You can find compiler status reports over on: https://github.com/Rust-GCC/Reporting, https://thephilbert.io/ as well as here in the next section.

Status reports

FAQ

For frequently asked questions please see: https://github.com/Rust-GCC/gccrs/wiki/Frequently-Asked-Questions

Thanks

Thank you to Open Source Security Inc. and Embecosm for sponsoring this project to move forward.

We appreciate all feedback from individuals on github.

GCC Rust Core Team

Get Involved

RSS

You can stay updated on our progress with this RSS feed.