Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Rust macros in this conference talk from RustFest Zürich 2017. Dive into a whirlwind tour of a macro_rules 1.0 macro that interprets Brainfuck, a Turing tarpit language, entirely at compile time. Discover various components such as number encoding, arithmetic, and input/output, with explanations of their inner workings. While not a traditional macro tutorial, learn advanced techniques like setting up recursive macros with accumulators, memory zippers, and "Zermelo numbers." Join Alex Burka, a robotics graduate student from the University of Pennsylvania, as he shares his passion for Rust and macros, stemming from his research in hardware control and web interfaces for sensor suites. The talk covers an introduction to macros, Brainfuck implementation, looping techniques, macro code examples, and concludes with a live demonstration.