> Nic
>
> I was confused by Sandeep comments not by the concept of 'Byte Codes' and
> 'Target Machines'
> re
>
> > Java compiles to a virtual CPU (call it JCPU) -
> > Delphi compiles to a real one (intel IA32).
>
> Not quite correct  Java compiles to a Virtual Machine, Delphi compiles to
an
> Intel CPU and a series of windows API Calls (lets call it the Microsoft
> Virtual Machine)

Nope, Delphi compiles to a set of Intel CPU byte codes. The windows API has
_nothing_ to do it with, except for the format of the EXE and the occasional
JMP or CALL statement to strange and far off places.

Java compiles to Java Byte Code, which is a stack-based "virtual" CPU which
is a little higher level than a normal CPU - hence why noone has bothered to
make it intoa real CPU yet.

> There is a distinct difference between a 'Machine' and a 'CPU'

Not really. You could make the JVM into a piece of sillicon (Sun did) and
run it all on that.

N

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to