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:

    Motion or change, and identity or rest, are the first and second secrets of nature: Motion and Rest. The whole code of her laws may be written on the thumbnail, or the signet of a ring.
    Ralph Waldo Emerson (1803–1882)

    We were that generation called “silent,” but we were silent neither, as some thought, because we shared the period’s official optimism nor, as others thought, because we feared its official repression. We were silent because the exhilaration of social action seemed to many of us just one more way of escaping the personal, of masking for a while that dread of the meaningless which was man’s fate.
    Joan Didion (b. 1935)