Application in Low and High Level Languages
Self-modification can be accomplished in a variety of ways depending upon the programming language and its support for pointers and/or access to dynamic compiler or interpreter 'engines':-
- overlay of existing instructions (or parts of instructions such as opcode, register, flags or address) or
- direct creation of whole instructions or sequences of instructions in memory
- creating or modification of source code statements followed by a 'mini compile' or a dynamic interpretation (see eval statement)
- creating an entire program dynamically and then executing it
Read more about this topic: Self-modifying Code
Famous quotes containing the words application, high, level and/or languages:
“Five oclock tea is a phrase our rude forefathers, even of the last generation, would scarcely have understood, so completely is it a thing of to-day; and yet, so rapid is the March of the Mind, it has already risen into a national institution, and rivals, in its universal application to all ranks and ages, and as a specific for all the ills that flesh is heir to, the glorious Magna Charta.”
—Lewis Carroll [Charles Lutwidge Dodgson] (18321898)
“...feminism never harmed anybody unless it was some feminists. The danger is that the study and contemplation of ourselves may become so absorbing that it builds by slow degrees a high wall that shuts out the great world of thought.”
—Rheta Childe Dorr (18661948)
“When science, art, literature, and philosophy are simply the manifestation of personality, they are on a level where glorious and dazzling achievements are possible, which can make a mans name live for thousands of years. But above this level, far above, separated by an abyss, is the level where the highest things are achieved. These things are essentially anonymous.”
—Simone Weil (19091943)
“I am always sorry when any language is lost, because languages are the pedigree of nations.”
—Samuel Johnson (17091784)