http://qs1969.pair.com?node_id=266585


in reply to Re: Re: New JAVA Specification
in thread New JAVA Specification

No, javascript is a scripting language.

Replies are listed 'Best First'.
Re: Re: Re: Re: New JAVA Specification
by diotalevi (Canon) on Jun 17, 2003 at 19:09 UTC

    I wasn't referring to JavaScript. I was referring the Java, the scripting language with the source->bytecode compiler javac and the bytecode interpreting VM java. Just because it happens to have a slow compiler that obliges keeping the compiler separate from the VM doesn't mean it isn't a scripting language.

      Just because it happens to have a slow compiler that obliges keeping the compiler separate from the VM doesn't mean it isn't a scripting language.

      Actually I think most programmers would draw the line between scripting and "normal" languages at the separation of compiler and architecture specific machine code. The fact that Java code is compiled down to a particular, albeit portable, architecture -- the Java Runtime Environment -- puts it in a separate category from languages like Perl and Python. To flip your statement, just because a language runs on a virtual machine does not mean it's a scripting language.


      "The dead do not recognize context" -- Kai, Lexx

        So because perl has a speedy compiler and can invoke it during execution it is a scripting language while Java has a slow compiler and can't invoke it during execution and it isn't? I'd say that both cases are scripting languages - they both run on a VM and are interpreted. There's no fundamental distinction here that I can see.