River Trail (JavaScript engine)

Developer(s)Intel
Initial releaseSeptember 2011; 13 years ago (2011-09)
Final release
v0.35.0 / Intel: 9 February 2015; 10 years ago (2015-02-09)
Repository
Written inJavaScript
Available inEnglish
TypeJavaScript engine
LicenseBSD 2-clause
Websitegithub.com/IntelLabs/RiverTrail

River Trail (also known as Parallel JavaScript) is a software engine, specifically a JavaScript engine, designed by Intel for executing JavaScript code using parallel computing on multi-core processors. It is free and open-source software with a BSD 2-clause license.

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] Because River Trail leverages Intel's OpenCL SDK[2] it can exploit multiple central processing unit (CPU) cores and data parallel instructions (ex. Advanced Vector Extensions (AVX), Streaming SIMD Extensions (SSE)) and the speedup can be greater than the CPU core count would imply.

A native implementation of River Trail in Firefox's SpiderMonkey JavaScript engine was announced in September 2012,[3] and added to Firefox nightly builds in April 2013.[4] By January 2015, the code had been removed from Firefox.[5][6]

Operation

To use the engine scripts uses a special API, based on three pillars: a data type named ParallelArray, several methods of prototype of ParallelArray, and elementary functions.[7]

References

  1. ^ Metz, Cade (17 September 2011). "Intel extends JavaScript for parallel programming". The Register. Retrieved 2013-04-10.
  2. ^ Hillar, Gaston (29 September 2011). "Introducing Intel Labs' River Trail". Dr. Dobb's. Retrieved 29 January 2014.
  3. ^ Halfacree, Gareth (13 September 2012). "Intel boosts JavaScript with River Trail release". bit-tech. Retrieved 2013-04-10.
  4. ^ "Bug 829602 - ParallelDo intrinsic and self-hosted ParallelArray". Mozilla Foundation. Retrieved 2013-04-10.
  5. ^ "Bug 801869 - (PJS) PJS: Efficient threaded runtime for data-parallel JavaScript". Bugzilla@Mozilla. Mozilla Foundation. 2015-01-19. Retrieved 2015-04-23.
  6. ^ "PJS has been removed from Spidermonkey". Retrieved 2017-10-18.
  7. ^ "Three pillars of the API". Retrieved 2011-09-14.

 

Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia