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

YouTube

ere: Compiling Regular Expressions at Build-Time With Proc Macros

Rust via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to compile regular expressions at build-time using Rust's proc-macro system in this 48-minute conference talk from the Seattle Rust User Group. Discover an innovative approach that moves beyond traditional runtime compilation of regular expressions into data structures by leveraging Rust's powerful macro system to compile regex patterns directly into equivalent Rust code during the build process. Explore how this technique not only improves performance by eliminating runtime compilation overhead but also harnesses Rust's type system to provide ergonomic representation of capture group semantics based on the regular expression's structure. Gain insights into the 'ere' project implementation, understand the technical challenges of build-time regex compilation, and see practical examples of how proc macros can transform regex patterns into type-safe, compile-time verified code that maintains the expressiveness of traditional regular expressions while offering superior performance characteristics.

Syllabus

ere: Compiling Regular Expressions at Build-Time—by Kai Orita—Seattle Rust User Group, December 2025

Taught by

Rust

Reviews

Start your review of ere: Compiling Regular Expressions at Build-Time With Proc 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.