Website:
Java is a partially interpreted language,that is - after crafting your
code you run a 'compiler' (javac) on it, this translates your Java to a
lower level code called byte-code. At runtime (when your program is executing)
the java virtual machine futher processes this byte code and translates
it to machine specific code.
Javascript on the other hand is a wholly interpreted language mainly used
for web technologies, you write your code and it is compiled, translated
and execute all at the same time.
The differences lie mainly in speed, error handling, secuirty. Java is
a 'proper' high-level language used for developing 'real' applications -
javascript has been seen as a tool for making web pages fancier... but the
advent of Ajax is shifting this per ception.
Tue May 27 20:21:27 2008 Alan
Website:
Java is a partially interpreted language,that is - after crafting your
code you run a 'compiler' (javac) on it, this translates your Java to a
lower level code called byte-code. At runtime (when your program is executing)
the java virtual machine futher processes this byte code and translates
it to machine specific code.
Javascript on the other hand is a wholly interpreted language mainly used
for web technologies, you write your code and it is compiled, translated
and execute all at the same time.
The differences lie mainly in speed, error handling, secuirty. Java is
a 'proper' high-level language used for developing 'real' applications -
javascript has been seen as a tool for making web pages fancier... but the
advent of Ajax is shifting this per ception.
Alan
Add your comments