Runtime Code Generation
When code generation occurs at runtime, as in just-in-time compilation (JIT), it is important that the entire process be efficient with respect to space and time. For example, when regular expressions are interpreted and used to generate code at runtime, a non-determistic finite state machine is often generated instead of a deterministic one, because usually the former can be created more quickly and occupies less memory space than the latter. Despite its generally generating less efficient code, JIT code generation can take advantage of profiling information that is available only at runtime.
Read more about this topic: Code Generation (compiler)
Famous quotes containing the words code and/or generation:
“... the self respect of individuals ought to make them demand of their leaders conformity with an agreed-upon code of ethics and moral conduct.”
—Mary Barnett Gilson (1877?)
“We are better advised and more educated than any other generation of parents. Yet this deluge of literature and advice can also leave us feeling overwhelmed and inadequate. Where is the joy of bringing a child into the world if we are always afraid of making a mistake?”
—Neil Kurshan (20th century)