Jump to content

Reflective programming

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Cgs (talk | contribs) at 20:04, 9 September 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science reflection is the ability of a program to examine and possibly modify its high level structure at runtime. It is most common in just in time compiled languages.

When program source code is compiled information about the structure of the program is normally lost as lower level code (typically assembly code) is emitted. If a system supports reflection the structure is preserved as meta data with the emitted code.

Platforms Supporting Reflection