On 11/05/2010 04:14 PM, Carl Jokl wrote:
With all due respect JavaScript is Source Code and not byte code.
Describing JavaScript as bytecode is nonsense.

1) It is not a binary format.
2) It is not close to machine code.
Who has ever said that bytecode must be binary? "Close to machine code" doesn't ever make sense, the Java bytecode isn't.
Yes the different browsers are putting in features like JIT for
JavaScript, the problem is that each JavaScript engine is doing things
in its own way.
It's bytecode that is not completely portable.
JavaScript was intended as s glue language just like Visual Basic.
Both have ended up being used to try and solve problems for which they
were not well suited.
This is valid for the web itself.
I for one and I think other developers also would be happier if they
could target the browser scripting engine using a more powerful
language than JavaScript. At the moment there is no way to write to
the scripting engine directly bypassing the JavaScript language. That
is where a 'real' bytecode system would come in.

In spite of the premises, I agree with you! But to me it's clear that since fifteen years up to today we've been moving on the IT world by patches and kludges. Every time that there is just the 1% of problems to fix (because Java has got it all, since its inception, but there's that 1% missing that creates problem), instead of focusing on fixing that (which is possible), we declare the thing 'dead' and decide to restart from scratch. Here we are, now, with JavaScript reinventing the wheel for the n-th time. Let's go with JQuery and REST; of course, before resolving all the problems that exist with these approaches, when we'll get to that infamous 1% somebody will pull another rabbit out of his hat, and we'll restart from scratch again. This is the cirque du technologie today. Fortunately, sooner or later, we retire and/or die...

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to