Loading…
CppCon 2018 has ended
Tuesday, September 25 • 09:00 - 10:00
Compile Time Regular Expressions

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

I will present a library that utilizes a feature of C++20 to build regular expressions from compile-time strings. This is a novel approach that doesn't have ordinary disadvantages of other regular expression implementations like having to use a linked library or a run-time cost of parsing and interpreting an internal finite machine.

You will see implementation details of the library and problems I have run into during its writing. In the last part of the talk, I will compare other implementations of regular expression engines and show compiled code in Compiler Explorer.

Speakers
avatar for Hana Dusíková

Hana Dusíková

Staff Scientist, AVAST
Hana works as a staff scientist at Avast Software. She is the Czech National Body chair for SC22 and WG21. She is also chair of WG21's Study Group for Compile-Time Programming, where C++'s future Reflection facilities are being developed.


Tuesday September 25, 2018 09:00 - 10:00 PDT
Keystone (404)
  • Metaprogramming and Reflection