From Jason Turner
Watch on YouTube

Summary

Jason introduces CTRE (Compile Time Regular Expressions), a library by Hana Dusíková that processes regular expressions at compile time rather than runtime. Through performance comparisons, he demonstrates how traditional std::regex implementations generate excessive code and slow compilation times, while CTRE produces minimal assembly with faster compile times. The episode highlights how CTRE leverages modern C++20 features to create more efficient regex processing that avoids the runtime overhead of traditional regex implementations.

Resources

Tags