The standard library is special. Let's change that.

February 09, 2024 22 min Free

Description

In this talk, JH Pratt discusses the unique nature of the Rust standard library and advocates for making it less special. The presentation delves into various aspects that make the standard library stand out, such as its reliance on nightly features, ability to bypass coherence rules, existence of a Prelude, and its special inclusion with cargo. Pratt also explores how language items and compiler intrinsics could be reduced and moved to separate crates. The talk highlights ongoing efforts and future possibilities for standardizing these features, including work on 'std aware Cargo', diagnostic attributes, negative implementations, specialization, crate preludes, and stability attributes, aiming to benefit the broader Rust community by making these powerful features accessible to all crates.