RustFest Zürich 2017 - Impractical Macros by Alex Burka
1,457 views · Published 5 November 2017 · 17:52 · Indexed 16 November 2026
Channel: Rust Programming Language · 2017 · Science & Technology
A whirlwind tour through a (macro_rules 1.0!) macro that interprets everyone’s favorite Turing tarpit, Brainfuck, completely at compile time. I’ll highlight various components such as number encoding, arithmetic, input/output and explain how they work. This is not a macro tutorial. I’ll cover a few techniques that you might possibly be able to use in real code, such as how to set up a recursive macro with an accumulator, but I’ll be breezing through them to get to the fun stuff, like memory zippers and “Zermelo numbers” (a term I may have invented). About Alex Burka: Alex is a robotics graduate student at the University of Pennsylvania. He got into Rust by writing his research software (a hardware controller and web interface for a sensor suite), and continues to spend too much of his free time writing macros.
More from this channel
-
1:00:14
Rust Meetup Cologne (2016-06-06): Alex Crichton - State of Rust 2016
-
13:48
Rust Meetup Cologne (2016-06-06): Andre Bogus - Clippy: Survey Results
-
27:46
PDXRust October 2016: RustProof
-
48:36
PDXRust July 2016: Andy Grover - Froyo
-
27:09
Brian Pearce - Learning to Love the Unfamiliar
-
22:20
Kai Michaelis - Panopticon - A Libre Cross-Platform Disassembler in Rust
-
36:09
Hanneli Tavante - Science tools borrow Rust
-
25:50
Sharon Steed - Empathetic communication: why vulnerability is the key to collaboration