Code Generation (compiler) - Runtime Code Generation

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:

    Hollywood keeps before its child audiences a string of glorified young heroes, everyone of whom is an unhesitating and violent Anarchist. His one answer to everything that annoys him or disparages his country or his parents or his young lady or his personal code of manly conduct is to give the offender a “sock” in the jaw.... My observation leads me to believe that it is not the virtuous people who are good at socking jaws.
    George Bernard Shaw (1856–1950)

    This generation has come into the world fatally late for some enterprises. Go where we will on the surface of things, men have been there before us.... But the lives of men, though more extended laterally in their range, are still as shallow as ever.
    Henry David Thoreau (1817–1862)