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:
“...I had grown up in a world that was dominated by immature age. Not by vigorous immaturity, but by immaturity that was old and tired and prudent, that loved ritual and rubric, and was utterly wanting in curiosity about the new and the strange. Its era has passed away, and the world it made has crumbled around us. Its finest creation, a code of manners, has been ridiculed and discarded.”
—Ellen Glasgow (18731945)
“There may perhaps be a new generation of doctors horrified by lacerations, infections, women who have douched with kitchen cleanser. What an irony it would be if fanatics continued to kill and yet it was the apathy and silence of the medical profession that most wounded the ability to provide what is, after all, a medical procedure.”
—Anna Quindlen (b. 1952)