Hi

"Samuel W. Heywood" <[EMAIL PROTECTED]> wrote:

[...]
 >> ?? You can't port either of them to other platforms !!!
 SH> The Java Mafia and all their henchmen say that you can port them to
 SH> other platforms.  False advertising?
no ... but porting is not needed, bevause a Java Program is ByteCode, which
runs on a VM. (read some Java FAQ to fully understand that.)
The essence is, that the same peace of code will run on any computer for
which a Java VM exists.

 >> JavaScript is embedded in the HTML page ... so either the browser
 >> (for a particular platform) has an interpreter for it or not....
 SH> If the browser has an interpreter for the JavaScript, then what do
 SH> you call the interpreter?  Would it not make sense to call it a Java
 SH> Interpreter?
No ... It's a JavaScript Interpreter.
(Java is NOT JavaScript)

 SH> Hence the relationship I see between JavaScript and Java,
 SH> just like the relationship between a Basic Program and a Basic
 SH> Interpreter.
but this is absolutely wrong.
(As many people told you already)

 >> You can't port Java, because it runs on a virtual CPU (Java VM).
 >> If there exists a Java VM for any particular machine, than it can
 >> run Java programs.

 SH> This is like saying that if a machine has a micro-processor, then it
 SH> can run machine language programs designed for it, or that it could
 SH> run any higher-level programming language program provided the program
 SH> is properly written for it, and it is running an interpreter properly
 SH> designed for it, or a facility for running a program compiled
 SH> specifically for use on said machine. Hence the relationship between
 SH> the scripting language and whatever the facility that handles it.  The
 SH> name of the scripting language and the name of
 SH> the facility that handles it may be similar or different.  Anyway, it
 SH> doesn't matter; however, the relationship between the two is clear.

What kind of scripting language do you speak of ??
There is no Scripting language in Java.

 SH> Sam Heywood

CU, Ricsi

-- 
Richard Menedetter <[EMAIL PROTECTED]> [ICQ: 7659421] {RSA-PGP Key avail.}
-=> Good management - getting other people to do the work <=-

Reply via email to