Michael wrote...
I know of stack machines in theory only, so I'll
take your word on it.
None of the hardware I've used in the last 20 years (Z80, 6502, 6800, x86,
PPC, etc.) would qualify as stack machines, and hence my lack of faith.
:-)
When I said "stack machine" I wasn't referring to the cpu architecture. I
was referring to the software design of the interpreter. Hence, I most
definitely was referring to platforms like the 6502, 6800, 68000, intel,
etc.
And yes, I personally have seen a basic runtime interpreter that was
implemented as a "stack machine" that was faster than compiled code on the
same platform. As a matter of fact, this was on the 68000 at the time.
Jay