River Trail (JavaScript engine): Difference between revisions

Content deleted Content added
User5910 (talk | contribs)
Note the use of OpenCL
User5910 (talk | contribs)
m Pointed SSE and AVX wikilinks to their specific pages instead of the disambiguation page (thanks DPL bot!), also put AVX before SSE since AVX is more current.
Line 27:
'''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 processor]]s.
 
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."<ref>{{cite web | title = Intel extends JavaScript for parallel programming | author = Cade Metz | date = 17 September 2011 | url = http://www.theregister.co.uk/2011/09/17/intel_parallel_javascript/ | publisher = [[The Register]] | accessdate = 2013-04-10 }}</ref> Because River Trail leverages Intel's [[OpenCL]] SDK<ref>{{cite web|last=Hillar|first=Gaston|title=Introducing Intel Labs' River Trail|url=http://www.drdobbs.com/web-development/introducing-intel-labs-river-trail/231602396|work=Dr. Dobb's|date=29 September 2011|accessdate=29 January 2014}}</ref> it can exploit multiple CPU cores as well as [[Data parallelism|data parallel]] instructions (ex. [[SSEAdvanced_Vector_Extensions|AVX]], [[AVXStreaming_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) |SpiderMonkey]] [[JavaScript engine]] was announced in September 2012<ref>{{cite web | title = Intel boosts JavaScript with River Trail release | author = Gareth Halfacree | url = http://www.bit-tech.net/news/bits/2012/09/13/intel-river-trail/1 | date = 13 September 2012 | publisher = [[bit-tech]] | accessdate = 2013-04-10 }}</ref> and was added to nightly Firefox builds in April 2013.<ref>{{cite web | url = https://bugzilla.mozilla.org/show_bug.cgi?id=829602 | title = Bug 829602 - ParallelDo intrinsic and self-hosted ParallelArray | publisher = [[Mozilla Foundation]] | accessdate = 2013-04-10 }}</ref>