Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

Update: JavaScript to take cues from Python

Eich reflects on JavaScript's beginnings and its future during keynote presentation at the AJAX Experience conference

By Paul Krill
May 12, 2006
 

As it evolves, JavaScript will take its cues from the Python language, Brendan Eich, the creator of JavaScript, said at The AJAX Experience conference on Friday afternoon.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell

JavaScript is a lynchpin of the popular AJAX (Asynchronous JavaScript and XML) technology for Web development. During his keynote presentation, Eich reflected on JavaScript's beginnings as well as its future. The language was designed to get a lot of mileage out of a few ideas and has not always been such a hot topic, Eich said.

"It's been over ten years, hard to believe. It was the Rodney Dangerfield of languages," said Eich, CTO of Mozilla.

For the future, JavaScript will follow Python. "We're going to learn from Python. JavaScript is pretty close to Python," Eich said. Python 2.5 is being tracked, he said.

JavaScript is borrowing iteration, generators and array comprehensions, with changes in syntax, from Python, Eich later clarified. Not all of the new features planned for JavaScript, however, are part of Python.

An attendee at the conference applauded the Python bent. "Python's a great language and seeing them pattern it after Python is really exciting," said Thabo Fletcher, a software engineer with Front Page, which provides online ad services.

Fletcher noted the impacts of Eich's JavaScript. "He's invented something that pushed Microsoft to do things," Fletcher said.

Improvements to JavaScript are eyed in areas such as type systems, name spaces, block statements, and structural types. Object types will be nullible by default.

"We're adding a lot of fun features," said Eich.

Backward compatibility is critical, Eich stressed. "Any evolution of JavaScript has to be backward-compatible. It can't force you to change the way you write code," he said.

Developers of JavaScript 2 seek scalability and extensibility. "We definitely want it to be extensible because I don't plan on doing this amount of work again," Eich said.

Thread support is not planned, however. Threads are less common in browser implementations and "it's very hard to program with threads," Eich said.

New competition in browsers, from Mozilla's Firefox specifically, has prompted efforts to improve JavaScript. Macromedia's work on ActionScript also was a factor, Eich said.

"Why the long freeze in JavaScript development? A lot of it had to do with the long freeze on browsers due to the IE [Internet Explorer] takeover," Eich said.

Eich noted JavaScript's ability to program browsers. "The way you program things that weren't hardwired into browsers like HTML is with JavaScript."

"More and more people are just using JavaScript because it's certainly fast enough and it's powerful enough now with help from all the surrounding APIs that are in browsers," said Eich.

"I think there is an important point to make here and that is that you can argue stagnation was good on the browser side," Eich said. This enabled work on the server side and development of good frameworks for server content. But that time is past.

"It's time to get back to innovating in the browser space," Eich said.

"Browsers are going to be more and more important because they're going to be on cell phones in great numbers," he said.

He laid out a road map for releases of JavaScript.

"If it all holds, we'll end up in the middle of next year with JavaScript 2 implemented," said Eich.

Prior to JavaScript 2, JavaScript 1.7 is set for implementation in the Firefox 2 browser this fall. JavaScript 1.9 is planned for Firefox 3 in early 2007.

JavaScript 2 is likely to fully displace JavaScript 1 in approximately four years, Eich said.





 


 
Paul Krill is an InfoWorld editor at large.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




SLM AND BSM: THE FUTURE OF IT MANAGEMENT. ARE YOU READY?
Driven by globalization and competition, businesses increasingly look to IT to enable them to quickly adapt to changing business conditions, speed the delivery of products and services, and automate processes, all at lower costs. Additionally, service quality and positive customer experiences are also top priorities. The only way to meet these expectations is to cohesively manage IT-across the enterprise-from a business service point-of-view.

»  Click here to view this Webcast
  WAN Emulation Sponsored Solutions Guide
WAN emulation technology enables IT organizations to predict reliably how applications will perform in a networked environment, before application rollout, mitigating development risk and costs.This Sponsores Solutions Guide has everything you need to now about WAN emulation and WAN and how to best implement it in your organization. Sponsored by Shunra

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist