<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=River_Trail_%28JavaScript_engine%29</id>
	<title>River Trail (JavaScript engine) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=River_Trail_%28JavaScript_engine%29"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=River_Trail_(JavaScript_engine)&amp;action=history"/>
	<updated>2026-06-19T16:02:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=River_Trail_(JavaScript_engine)&amp;diff=1789285&amp;oldid=prev</id>
		<title>imported&gt;Thunder491: Shorten short description</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=River_Trail_(JavaScript_engine)&amp;diff=1789285&amp;oldid=prev"/>
		<updated>2025-08-09T13:06:35Z</updated>

		<summary type="html">&lt;p&gt;Shorten short description&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|JavaScript engine developed by Intel}}&lt;br /&gt;
{{Infobox software&lt;br /&gt;
| title = River Trail&lt;br /&gt;
| logo = &amp;lt;!-- File name only. --&amp;gt;&lt;br /&gt;
| screenshot = &amp;lt;!-- File name only. --&amp;gt;&lt;br /&gt;
| caption = &lt;br /&gt;
| author = &lt;br /&gt;
| developer = Intel&lt;br /&gt;
| released = {{Start date and age|2011|09|df=yes}}&lt;br /&gt;
| discontinued = yes&lt;br /&gt;
| latest release version =  v0.35.0&lt;br /&gt;
| latest release date = Intel: {{Start date and age|2015|02|09|df=yes}}&lt;br /&gt;
| programming language = [[JavaScript]]&lt;br /&gt;
| operating system = &lt;br /&gt;
| platform = &lt;br /&gt;
| size = &lt;br /&gt;
| language = English&lt;br /&gt;
| genre = [[JavaScript engine]]&lt;br /&gt;
| license = [[BSD licenses#2-clause|BSD 2-clause]]&lt;br /&gt;
| website = {{URL|github.com/IntelLabs/RiverTrail}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;River Trail&amp;#039;&amp;#039;&amp;#039; (also known as &amp;#039;&amp;#039;&amp;#039;Parallel JavaScript&amp;#039;&amp;#039;&amp;#039;) is a [[software engine]], specifically a [[JavaScript engine]], designed by [[Intel]] for executing [[JavaScript]] code using [[parallel computing]] on [[multi-core processor]]s. It is [[free and open-source software]] with a [[BSD licenses#2-clause|BSD 2-clause license]].&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;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.&amp;quot;&amp;lt;ref&amp;gt;{{cite news |last1=Metz |first1=Cade |date=17 September 2011 |title=Intel extends JavaScript for parallel programming |url=https://www.theregister.co.uk/2011/09/17/intel_parallel_javascript/ |work=[[The Register]] |access-date=2013-04-10}}&amp;lt;/ref&amp;gt; Because River Trail leverages Intel&amp;#039;s [[OpenCL]] SDK&amp;lt;ref&amp;gt;{{cite web|last=Hillar|first=Gaston|title=Introducing Intel Labs&amp;#039; River Trail|url=http://www.drdobbs.com/web-development/introducing-intel-labs-river-trail/231602396|work=Dr. Dobb&amp;#039;s|date=29 September 2011|access-date=29 January 2014}}&amp;lt;/ref&amp;gt; it can exploit multiple [[central processing unit]] (CPU) cores and [[Data parallelism|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.&lt;br /&gt;
&lt;br /&gt;
A native implementation of River Trail in Firefox&amp;#039;s [[SpiderMonkey]] [[JavaScript engine]] was announced in September 2012,&amp;lt;ref&amp;gt;{{cite news |last1=Halfacree |first1=Gareth |date=13 September 2012 |title=Intel boosts JavaScript with River Trail release |url=http://www.bit-tech.net/news/bits/2012/09/13/intel-river-trail/1 |work=[[bit-tech]] |access-date=2013-04-10}}&amp;lt;/ref&amp;gt; and added to Firefox nightly builds in April 2013.&amp;lt;ref&amp;gt;{{cite web |url=https://bugzilla.mozilla.org/show_bug.cgi?id=829602 |title=Bug 829602 - ParallelDo intrinsic and self-hosted ParallelArray |website=[[Mozilla Foundation]] |access-date=2013-04-10}}&amp;lt;/ref&amp;gt; By January 2015, the code had been removed from Firefox.&amp;lt;ref&amp;gt;{{Cite web |url=https://bugzilla.mozilla.org/show_bug.cgi?id=801869 |title=Bug 801869 - (PJS) PJS: Efficient threaded runtime for data-parallel JavaScript|date=2015-01-19|access-date=2015-04-23 |website=Bugzilla@Mozilla |publisher=Mozilla Foundation |last1= |first1=}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://groups.google.com/forum/m/#!topic/mozilla.dev.tech.js-engine/H-YEsejE6DA |title=PJS has been removed from Spidermonkey |access-date=2017-10-18}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Operation ==&lt;br /&gt;
To use the engine scripts uses a special [[API]], based on three pillars: a [[data type]] named &amp;lt;code&amp;gt;ParallelArray&amp;lt;/code&amp;gt;, several methods of [[Prototype-based programming|prototype]] of &amp;lt;code&amp;gt;ParallelArray&amp;lt;/code&amp;gt;, and elementary functions.&amp;lt;ref name=&amp;quot;wk3p&amp;quot;&amp;gt;{{Cite web |title=Three pillars of the API|url=https://github.com/RiverTrail/RiverTrail/wiki/Three-Pillars-of-the-API |access-date=2011-09-14}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{GitHub|IntelLabs/RiverTrail}}, source code&lt;br /&gt;
* Tour of the SpiderMonkey Parallel JS Implementation: [http://smallcultfollowing.com/babysteps/blog/2013/03/20/a-tour-of-the-parallel-js-implementation/ Part 1]; [http://smallcultfollowing.com/babysteps/blog/2013/04/04/a-tour-of-the-parallel-js-implementation-part-2/ Part 2]&lt;br /&gt;
* InfoQ interview: [http://www.infoq.com/interviews/rick-hudson-rivertrail Rick Hudson on Parallel JavaScript (RiverTrail)]&lt;br /&gt;
* [http://wiki.ecmascript.org/doku.php?id=strawman:data_parallelism Proposed Parallel EcmaScript API]&lt;br /&gt;
* [https://groups.google.com/forum/?fromgroups#!forum/mozilla.dev.tech.js-engine.rivertrail mozilla.dev.tech.js-engine.rivertrail discussion group]&lt;br /&gt;
&lt;br /&gt;
{{JavaScript}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Intel software]]&lt;br /&gt;
[[Category:JavaScript engines]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Thunder491</name></author>
	</entry>
</feed>