JavaScript, the now-ubiquitous scripting language popular in client-side Web development, has gotten faster and could find itself being used instead of Adobe Flash technology, Brendan Eich, the creator of JavaScript, told InfoWorld. "The browser vendors are making super-fast implementations of it, so JavaScript's gotten very, very fast, and this is helping developers use it more," Eich said when asked what he sees in the future for JavaScript. "It's being used for 3D graphics programming now."
"My prediction is we'll see even more JavaScript. We'll see 3D games being written, innovations that we haven't even conceived of yet," he said. Activities now done in Flash would be done in the browser via JavaScript, Eich said. Such enhancements to JavaScript would "take over" if Microsoft decides to support them in its Internet Explorer browser or if such support could be added to Internet Explorer through other means, according to Eich, who is a leader of the Mozilla Foundation.
[ Flash also faces a real threat from HTML 5, as InfoWorld's Paul Krill reports. | Read InfoWorld's in-depth Q&A with Brendan Eich. ]
Eich discussed JavaScript and the ECMAscript standard behind it during a presentation and in a subsequent interview with InfoWorld at the World Wide Web Consortium Technical/Plenary Advisory Committee meeting in Santa Clara, Calif.
JavaScript has moved well beyond an original perception of being a "kid brother to Java," with Java having been viewed as the real programming language, Eich said. "People will disagree, but I think Java is almost dead on the client side of the Web, and JavaScript is everywhere," Eich said.
ECMAscript is to be upgraded with the upcoming approval of ECMAscript 5 slated for next month, Eich said. The standard is in deliberations at ECMA. Formerly called ECMAscript 3.1, Version 5 will feature capabilities such as meta-programming and hardening of objects. "You can make objects that can't be tampered with," Eich said. "You can control modifications to your objects."
Deliberations on an upgrade to ECMAscript hit a roadblock in past years due to technical and political disagreements, resulting in continued work on ECMAscript 3.1 and development of a battle plan of sorts for improvements to the standard, known as Harmony.
Another edition of ECMAscript based on Harmony is expected in two-and-a-half years, Eich said. At some point, JavaScript could reach a stage where it will not need much improvement, he said. "If we do our job right, we end up in a situation where JavaScript doesn't need to change much," said Eich.
This story, "Eich: JavaScript getting faster, could displace Flash," was originally published at InfoWorld.com. Follow the latest developments in JavaScript at InfoWorld.com. Follow developments in Java at JavaWorld.com.
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »"Such enhancements to JavaScript would "take over" if Microsoft decides to support them in its Internet Explorer browser..."
Microsoft wants to support its own Flash-variant, Silverlight. I don't expect it to be a forerunner of Javascript VM advances. Even now, Firefox and Chrome has far exceeded Internet Explorer.
"JavaScript has moved well beyond an original perception of being a "kid brother to Java," with Java having been viewed as the real programming language"
JavaScript was intended to ride the wave of popularity that was Java, hence the name. Unfortunately, few people bother with using the latest implementation Javascript or OOP concepts. They only exist in the APIs.
Flash and Javascript both have the same capability to be as fast as Java. Why not?
The important thing people forget is that Flash is not just the script. It's a container format. Just like .zip or .rar. It enables developers to create an application package, all in one. In fact, now, you can already use Javascript to create Flash, so Flash is running on Javascript, but there's no difference! Javascript is a script.

Sign up to receive InfoWorld Resource Alerts
