Multi-core JavaScript project from Intel now downloadable

Intel’s RiverTrail, a parallel computing extension for JavaScript, can now be downloaded from Github

By - September 15, 2011
Intel RiverTrail

Summary: Intel has made its data parallel JavaScript extension for Firefox available for download which promises easy multi-core development for everyday programs, not just scientific applications

As part of its data parallel JavaScript project, Intel today made RivertTrail available for download from Github. Intel described RiverTrail as their parallel computing JavaScript project, which comes with a multi-core capable JavaScript Firefox extension.

Justin Rattner, Intel CTO and director of Intel Labs, made the announcement as part of his keynote address during Intel Developer Forum (IDF) 2011 held in San Francisco.

Calling on stage Brendan Eich, Mozilla CTO and creator of JavaScript, Rattner set the scene by asking Eich about JavaScript’s non-existent parallel processing capabilities.

This lead into a demonstration of RiverTrail, which was shown to improve the performance of a particle physics simulator 15 fold from 3 frames per second (fps) to 45fps.

Intel RiverTrail at IDF 2011

Intel RiverTrail at IDF 2011

At their parallel web applications booth at IDF, Intel Labs staff Richard Hudson and Stephan Herhut showed a similar demonstration of the technology, with the notable addition of a resource monitor which showed the simulator maxing out all 8 cores of their demo machine.

With the parallelism extension turned off only one core was used.

Although the demonstration made use of a particle simulation, Intel said that the aim of the project isn’t only for scientific applications.

Richard Hudson and Stephan Herhut

Richard Hudson and Stephan Herhut - Intel Labs

In an earlier conversation at their booth, Hudson explained that they made the technology easy enough for productivity programmers to use.

The idea was to help developers avoid the complexities typically associated with programming for parallelism, such as locks and other tricks needed to prevent programs from behaving badly.

This would enable developers to build new kinds of in-browser applications such photo and video editing programs or 3D games, Intel said.

Since JavaScript is also predominantly a web technology, Hudson said that security was of paramount concern.

He explained that they generate OpenCL code, which they use as a hardware abstraction layer, but ensured that they worked to offer all the same security inherent in JavaScript.

Brendan Eich, Mozilla CTO and Justin Rattner, Intel CTO

Brendan Eich - Mozilla CTO, Justin Rattner - Intel CTO

In a video released today with the announcement, Herhut said that whenever they had to make a choice between performance and safety, they went for safety.

On their use of OpenCL, Hudson explained that their principle is to “run everywhere, but run best on Intel.”

During the keynote, Intel said that they would like to see their parallel JavaScript extension become part of the ECMAScript standard.

Mozilla’s Eich said that he sits on the ECMAScript standards body and promised to promote RiverTrail there.

Jan Vermeulen is a guest of Intel at IDF 2011.

Forum discussion

Shutterstock is the image partner of MyBroadband – more technology images

Join the conversation

Connect with Us

androidappletwitterfacebookgoogleplusfeednewsletter

Poll

What is the most important aspect of a mobile service to you?

View Results

Loading ... Loading ...

More News

Power ships can solve South Africa’s short-term energy problems

Karadeniz Energy Group powership

A set of floating power stations, moored at a number of South African harbours, would provide much needed electricity to the country, writes Roger Lilley

How to let go of your smartphone

Cracked screen

We all know the scare stories. Growing numbers of people are becoming addicted to the internet and constantly checking their digital gadgets.

Eskom scrapped a tender that would have saved R1 billion

Eskom

Underhanded lobbying, delaying tactics and internal squabbling scuppered the power utility’s economical and innovative IT plan, writes Lionel Faull, Sam Sole and Stefaans Brummer

Standard Bank apologizes for national ATM problems

Standard bank

No one wants to struggle to draw money at an ATM on payday, but that’s exactly what happened with several Standard Bank clients

X

Newsletter Subscription


Name
Email *
Enter the following to confirm your subscription *
Captcha image


Free MyBroadband Newsletter
Subscribe
X
bool(true)