20-24 September 2021
US/Pacific timezone

rustc_codegen_gcc: A gcc codegen for the Rust compiler

20 Sep 2021, 08:00
45m
Refereed Track/Virtual-Room (LPC Virtual)

Refereed Track/Virtual-Room

LPC Virtual

150
LPC Refereed Track (Closed) LPC Refereed Track

Speaker

Antoni Boucher

Description

The Rust programming language is becoming more and more popular: it's even considered as another language allowed in the Linux kernel.
That brought up the question of architecture support as the official Rust compiler is based on LLVM.
This project, rustc_codegen_gcc, is meant to plug the GCC backend to the Rust compiler frontend as a relatively low-effort: it's a shared library reusing the same API provided by the Rust compiler as the cranelift backend.
As such, it could be used by some Linux projects as a way to provide their Rust softwares to more architectures.
This talk will present this project and its progress.

I agree to abide by the anti-harassment policy I agree

Primary author

Antoni Boucher

Presentation Materials