canucker2016on Hacker News • Recommends
On “The Impossible Optimization, and the Metaprogramming to Achieve It”
#compile-timeregularexpressions#metaprogramming#c++20
189K subscribers • 101 videos on Hallway • Conference channel
Advanced. Deep dive for people who know the field.
14K views8 years ago2 recommendations
Programming languagesSystems programmingC++Compilers and interpretersPerformance and optimization
Hana Dusíková presents a C++ library that builds regular expressions from compile-time strings to avoid runtime parsing costs.
CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2018 — 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. — Hana Dusíková, Avast Senior Researcher Hana is working as a senior researcher in Avast Software. Her responsibility is exploring new ideas and optimizing existing ones. She also propagates modern C++ techniques and libraries in internal techtalks and gives talks at local C++ meetups. She studied computer science at Mendel university and subsequently taught several courses there, including: Data Structures, Computability and Complexity, and Formal Languages and Automata. — Videos Filmed & Edited by Bash Films: BashFilms.com *-----* *--* *-----*What people say. Recommended as an excellent demonstration of C++ metaprogramming and compile-time regular expression optimization.
canucker2016on Hacker News • Recommends
On “The Impossible Optimization, and the Metaprogramming to Achieve It”
nikki93on Hacker News • Mentions
On “C++20 has been approved”
lcvwon Hacker News • Mentions
On “Compile time regular expression in C++”
u/open_source_guavain r/ProgrammingLanguages • Mentions
On “Video: Derivative of a Regex?! (Brzozowski Derivative)”