Harvard vs. vonNeuman

From: Roger Merchberger <zmerch_at_30below.com>
Date: Tue Sep 28 15:40:46 2004

Rumor has it that David V. Corbin may have mentioned these words:
> >>> >>>
> >>> 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,

Why not? Some of us aren't "in the trenches" so to speak WRT newer software
& languages.... I would be interested to know which platform that actually was!

> is that the compiler is actually part of the runtime.

So, in other words... it's an interpreter. Novel idea, that! ;-P

> This means that any program can
>write source code to a string (or other structure) and compile and execute

Lots of languages have eval() nowadays... most people think the use of it
is as evil as self-modifying code.

Dunno, if you ask me -- it sounds like "yet another gaping security hole
waiting to happen" to me...

Roger "Merch" Merchberger

Roger "Merch" Merchberger   ---   sysadmin, Iceberg Computers
Recycling is good, right???  Randomization is better!!!
If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.
Received on Tue Sep 28 2004 - 15:40:46 BST

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