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

Have you watched a movie at a Ster Kinekor or Nu Metro cinema in the last month?

View Results

Loading ... Loading ...

More News

Stop wasting money on coal and oil for energy production

Fossil Fuel

The costs of fossil fuels are paid in death and illness. That’s why it’s important to propel our economies away from their dependence on fossil fuels.

Robocrime – what happens if an intelligent robot kills someone?

RoboCop

The fear of powerful artificial intelligence and technology is a popular theme, as seen in films such as Ex Machina, Chappie, and the Terminator series.

Your licence disc cannot be withheld because of e-tolls

E-Toll logo

The Justice Project South Africa has reiterated that licence disc renewals cannot be refused because of outstanding e-toll bills

The R110 computer that could change the world

PCB

What can you buy for R110 these days? Lunch for two, a cheap T-shirt? How about a fully functional computer?

X

Newsletter Subscription


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


Free MyBroadband Newsletter
Subscribe
X
bool(true)