Re:Is eval evil? Just-in-time compiling
by hyperpape on Monday November 19, 2018 @12:46PM
(#18488132)
I think the Python falcon web server uses eval to produce direct python that executes routing code at run time. I don't have any reason to think it can't be beat, but it is relatively fast for something done in Python.
More generally, generating code is used for a lot of regex engines, though it may happen before runtime.
More generally, generating code is used for a lot of regex engines, though it may happen before runtime.