Re:Needle: A DFA Based Regex Library That Compiles to JVM By...
by neonsunset on Wednesday May 08, 2024 @04:48AM
(#40295747)
C# does this as well. Its OOB Regex engine can compile expressions to automata at runtime, or there’s an alternate newer back-end to generate the source code at compile time, which is useful in AOT as you can’t JIT the IL there.
Similar to the blog post, this allows it to be one of the fastest: https://github.com/BurntSushi/rebar?tab=readme-ov-file#summa...