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

Do you think Eskom should be privatised?

View Results

Loading ... Loading ...

More News

LightSpeed Broadband battle – Telkom vs Cybersmart

Cybersmart Lightspeed

There is a battle between Telkom and Cybersmart about the use of the term LightSpeed Broadband.

New SA tech business start-up accelerator

technology 2

A new-style South African start-up accelerator has changed the traditional business model by not taking any equity in new tech businesses.

South Africa wants to raise its drinking age to 21

Drunk drink alcohol keys handcuffs

Having an alcoholic drink when you turn 18 may soon no longer be an option for South African youths.

New Incredible Connection website launched

Incredible Connection

Incredible Connection has launched its new website, introducing new features aimed at improving the site’s simplicity, ease of use, and accessibility.

X

Newsletter Subscription


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


Free MyBroadband Newsletter
Subscribe
X
bool(true)