Skip to content
Rust Search
← Browse conferences

The road to compiling the standard library with gccrs

EuroRust
23:44 1344 views

gccrs is an alternative compiler implementation of the Rust Programming Language, which aims at adding support for the language to the GNU Compiler Collection, GCC. For now, the project targets Rust version 1.49, and plans to catch up once that milestone is reached. But what does “targeting a Rust version” mean? Our goal is for gccrs to eventually become an authentic Rust compiler, which passes the rustc testsuite and contains the same behavior, same bugs, and same language guarantees. But pass

Player unavailable or embedding blocked? Use the YouTube link above.

Other talks by Arthur Cohen

gccrs: An alternative compiler for Rust

Oxidize Conference
Oxidize 29:47 1631 views

The goal of gccrs is to add support for the Rust programming language to GCC, the GNU Compiler Collection. By being part of the GCC project, gccrs benefits from powerful optimizations and support for a wide range of architectures, as well as a full-fledged plug-in system that further extends Rust’s static safety promises.

Inching ever closer to the Rust standard library with gccrs

RustNL
RustWeek 36:25 516 views

Arthur Cohen & Pierre-Emmanuel Patry -- Gccrs, an alternative compiler for Rust, has had the goal of compiling the extremely complex std crate for a few years now. Reaching that milestone will prove that the compiler can handle real Rust code, and allows us to tell you about all the “interesting” compiler tricks we’ve had to deal with.

The plan for gccrs

FOSDEM

gccrs is an alternative implementation of a Rust compiler currently being developed. It aims to become a fully fledged Rust compiler, and hopes to share as much code as possible with the official Rust compiler in order to guarantee correctness and avoid damage on the Rust ecosystem. But how do we plan to integrate Rust components to the GCC codebase, and what sort of components will we reuse? This talk will explore the future of the project, as well as some of the challenges surrounding compilers, and the very silly sounding but real problems of bootstrapping and dogfooding. We will explore the stack of rustc crates that we leverage, how we use them together, and how they will play a part once the compiler has advanced further.

A deep dive inside the Rust frontend for GCC

FOSDEM

Started in 2014, the gccrs project is working toward creating an alternative compiler implementation for the Rust programming language. At the moment, the project targets the 1.49 version of the language and hopes to catch up once that milestone is reached. In that talk, we will explore some of the components inside gccrs, as well as dive into some of the hurdles encountered during the project's lifetime. Finally, we will explore ways to cross-pollinate with the Rust community, in order to help and benefit both projects. Specifically, we will dive into some ways we plan to share components with rustc, and how to achieve that: namely, we will look at how we plan on integrating the Polonius project to perform borrow-checking inside gccrs, what our efforts with running the rustc 1.49 testsuite are, and what we need to achieve to start being useful to the Rust- for-Linux project.