On Tue, 13 Jun 2000 09:27:14 +0200 (CEST), [EMAIL PROTECTED] (Richard Menedetter)
wrote:
> Hi
> Bernie just wanted to say that:
> If A is supposed to run everywhere, why does B not run everywhere ...
> (because A and B are completely different things, which are NOT related)
> ?? You can't port either of them to other platforms !!!
The Java Mafia and all their henchmen say that you can port them to other
platforms. False advertising?
> JavaScript is embedded in the HTML page ... so either the browser (for a
> particular platform) has an interpreter for it or not....
If the browser has an interpreter for the JavaScript, then what do you call
the interpreter? Would it not make sense to call it a Java Interpreter?
Hence the relationship I see between JavaScript and Java, just like the
relationship between a Basic Program and a Basic Interpreter. The only
difference in the case of the browser is that the interpreter is compiled
into the browser program. A Basic Interpreter, on the other hand, is a
separate program, but such could probably be compiled and united into another
program in case anyone wanted to do such a thing. I am interested in
knowing if such has already been done.
> 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.
This is like saying that if a machine has a micro-processor, then it can run
machine language programs designed for it, or that it could run any
higher-level programming language program provided the program is properly
written for it, and it is running an interpreter properly designed for it, or
a facility for running a program compiled specifically for use on said machine.
Hence the relationship between the scripting language and whatever the
facility that handles it. The name of the scripting language and the name of
the facility that handles it may be similar or different. Anyway, it doesn't
matter; however, the relationship between the two is clear.
Sam Heywood
-- This mail sent by Arachne, www graphical browser for DOS