3 ms·
The eventual compromise was that JavaScript would be a playground for experimentation and learning; whereas, Java was designed for hardcore computer science-typ
by bsimpson 12y ago
The eventual compromise was that JavaScript would be a playground for experimentation and learning; whereas, Java was designed for hardcore computer science-types. If you wanted to add rich functionality to your site, you'd use JavaScript to call into a Java library, which did the heavy lifting. (This was paraphrased from Brendan Eich's The Origin of JavaScript: http://javascriptjabber.com/124-jsj-the-origin-of-javascript-with-brendan-eich/ http://javascriptjabber.com/124-jsj-the-origin-of-javascript...)
Of course, the web community embraced Shockwave/Flash over Java, and Java retreated to the server and mobile. Later, Steve Jobs was famously unimpressed with Macromedia/Adobe's forays into mobile and refused to ship a Flash interpretter in iOS. This led to the decline of Flash and a rising interest in creating a rich stack for client-side applications in JavaScript, bringing us to today's stack (canvas, WebGL, web audio, WebRTC, Ember/Angular/React, web components, pnacl/asm, etc.).