Dynamic Compilation

Dynamic compilation is the practice of delaying compilation of a program (translation from a source language to a target language; the latter usually being the instruction set of the underlying microprocessor) until the time that the program is loaded or run. Dynamic compilation can either be done at program load, or on demand as code is executed (or generated!).

In many instances, only the compiler back-end (target code generation and much but not all optimization) is so delayed; there is far less advantage to be gained by delaying things like parsing and semantic analysis. In such cases, an IntermediateForm? is generated by an ahead-of-time compiler (consisting of front-end stuff only); this intermediate form is converted to the target language by the dynamic back-end.


Advantages of doing this:


See also http://sunir.org/apps/vm.pl?DynamicCompilation


View edit of August 25, 2008 or FindPage with title or text search