Harvard vs. vonNeuman

From: Dwight K. Elvey <dwight.elvey_at_amd.com>
Date: Tue Sep 28 16:12:50 2004

>From: "David V. Corbin" <dvcorbin_at_optonline.net>
>>>> >>>
>>>> Can you create self modifying code in any high level
>>>> language, the kind of code where the application program
>>>> actually changes it's own instructions?
>>>> I know in C it is possible to pass an address of a function
>>>> to a function, that's not really what I mean.
>Actually this is (sort of) becoming more common. One exciting feature of a
>new platform by the software vendor who shall not be named, is that the
>compiler is actually part of the runtime. This means that any program can
>write source code to a string (or other structure) and compile and execute

 It was possible to do in early BASIC's that allowed a machine
code subroutine calls. One input the code as data and then called
it. Both LISP and Forth have the ability to, by program, compile
code and then execute it. It is done more often in LISP.
 This is a different form of self modifying.
Received on Tue Sep 28 2004 - 16:12:50 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:37:32 BST