Harvard vs. vonNeuman
Paul Koning
pkoning at equallogic.com
Tue Sep 28 16:46:45 CDT 2004
>>>>> "Ron" == Ron Hudson <ron.hudson at sbcglobal.net> writes:
Ron> On Sep 28, 2004, at 9:46 AM, Dwight K. Elvey wrote:
>>> From: "ben franchuk" <bfranchuk at jetnet.ab.ca>
>>>
>>> Peter C. Wallace wrote:
>>>> Isn't self modifying code pretty much deprecated these days
>>>> (aside from trampolines and such)
>>>>
Ron> Can you create self modifying code in any high level language,
Ron> the kind of code where the application program actually changes
Ron> it's own instructions?
Ron> I know in C it is possible to pass an address of a function to a
Ron> function, that's not really what I mean.
I think the answer is "usually not". C is an exception, as you
noted. So is Espol, the OS writing language on Burroughs mainframes.
I'd also exclude systems (like PDP11s) which have a program overlay
mechanism -- that too of course is self-modifying code, and generally
would be supported with any language used on that system, high level
languages included.
paul
More information about the cctalk
mailing list