Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Impractical Macros

Rust via YouTube

Overview

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.

Syllabus

Introduction
Macros
Brainfuck
Implementation
Looping
Macro Code
Demo

Taught by

Rust

Reviews

Start your review of Impractical Macros

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.