The road to compiling the standard library with gccrs
summary
Project claims to compile the Rust 1.49 standard library and actually builds large parts of core and alloc while hitting concrete gaps: declarative macro expansion and macro name resolution, const generics already present in core, unimplemented format_args so println! still broken, many missing GCC intrinsics, and no borrow checker yet. Implementation is a C++ reimplementation of rustc front end totalling 200,000 lines of C++ with three paid developers and about a dozen volunteers; some crates compile, many fail.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:53What is gccrs
- 2:45What is a r compiler
- 7:05What do we need to build STD
- 15:02What do we do with STD
- 16:48Async await
- 17:19The issue
- 17:49Formatargs
- 18:34Compiler intrinsics
- 19:36Pressure on crate maintainers
- 20:02Backlash
- 20:48Funding
- 22:22Thanks
related talks
36mInching ever closer to the Rust standard library with gccrs
27mRust GCC Front-end
30mgccrs: An alternative compiler for Rust
28mrustc_codegen_gcc: A gcc codegen for the Rust compiler
23mBootstrapping: The once and future compiler
21mWords from the Core Team
35mCore Team Keynote
40mRust’s approach of getting things right
