November 06, 2009

Eich: JavaScript getting faster, could displace Flash

JavaScript's founder claims JavaScript has displaced Java as a Web client, outlines projected enhancements

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.

Read more about developer world in InfoWorld's Developer World Channel.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter
additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

Download now »
TriangleJuice 9-Nov-09 5:05am
The funny thing is that I had to kill all Flash plugins on this site with BashFlash, before I was able to scroll down to the comments [a.k.a. system resource hog]. ^_^
cardinal4 9-Nov-09 7:45pm

"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.

benw 10-Nov-09 10:22am
JavaScript won't kill of Flash. Flash has so much more capabilities and features that JavaScript will never have. Having said that, Flash may kill off Flash ... if they don't release a 64-bit version soon and fix the bugs they had for years.

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2010 Infoworld, Inc.