Jump to content

River Trail (JavaScript engine)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pointillist (talk | contribs) at 11:56, 20 May 2013 (External links: add discussion group). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Developer(s)Intel
Repository
Websitegithub.com/RiverTrail

River Trail (also known as Parallel Javascript) is an open source software engine designed by Intel for executing JavaScript code using parallel computing on multi-core processors.

River Trail was announced at the Intel Developer Forum in September 2011, and demonstrated using a Firefox extension developed by Intel. Brendan Eich, the original author of JavaScript, promised that he would promote River Trail within Ecma International, saying "The demo shows a 15x speedup over serial JavaScript. It lights up the ridiculously parallel hardware in modern CPUs and GPUs, for audio, video, image processing, automated voice response, computer vision, 3D gaming, etc. – all written in memory-safe, clean, functional JavaScript, without threads and their data races and deadlocks."[1]

A native implementation of River Trail in Firefox's SpiderMonkey JavaScript engine was announced in September 2012[2] and was added to nightly Firefox builds in April 2013.[3]

Operation

To use the engine scripts uses a special API, based on three pillars: a type called ParallelArray, several methods of Prototype of ParallelArray, and elementary functions.[4]

References

  1. ^ Cade Metz (17 September 2011). "Intel extends JavaScript for parallel programming". The Register. Retrieved 2013-04-10.
  2. ^ Gareth Halfacree (13 September 2012). "Intel boosts JavaScript with River Trail release". bit-tech. Retrieved 2013-04-10.
  3. ^ "Bug 829602 - ParallelDo intrinsic and self-hosted ParallelArray". Mozilla Foundation. Retrieved 2013-04-10.
  4. ^ Three pillars of the API, retrieved 2011-09-14