Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intriguing world of unconventional Rust programming in this RustConf 2022 talk. Delve into the mysterious "weird-exprs.rs" file, a long-standing fixture in the Rust compiler's test suite since 2011. Uncover the history and rationale behind these "technically legal" but far from idiomatic Rust expressions. Gain insights into why these peculiar constructs are necessary for crafting well-formed Rust programs. Journey through test functions, loops, the 'never' keyword, and primitives as you examine the evolution of Rust's syntax and capabilities. Prepare to challenge your understanding of Rust programming and discover the method behind the madness in this eye-opening presentation.