<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Rhino_%28JavaScript_engine%29</id>
	<title>Rhino (JavaScript engine) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Rhino_%28JavaScript_engine%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Rhino_(JavaScript_engine)&amp;action=history"/>
	<updated>2026-04-06T04:11:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Rhino_(JavaScript_engine)&amp;diff=219741&amp;oldid=prev</id>
		<title>imported&gt;TarnishedPath: Per page move: Changed link from Class (computer programming) to Class (programming) (×2) using MovePlus</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Rhino_(JavaScript_engine)&amp;diff=219741&amp;oldid=prev"/>
		<updated>2025-10-17T09:02:30Z</updated>

		<summary type="html">&lt;p&gt;Per page move: Changed link from &lt;a href=&quot;/index.php/Class_(computer_programming)&quot; class=&quot;mw-redirect&quot; title=&quot;Class (computer programming)&quot;&gt;Class (computer programming)&lt;/a&gt; to &lt;a href=&quot;/index.php/Class_(programming)&quot; title=&quot;Class (programming)&quot;&gt;Class (programming)&lt;/a&gt; (×2) using &lt;a href=&quot;/index.php?title=User:TarnishedPath/MovePlus.js&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:TarnishedPath/MovePlus.js (page does not exist)&quot;&gt;MovePlus&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|JavaScript engine written in Java}}&lt;br /&gt;
{{Multiple issues|&lt;br /&gt;
{{More citations needed|date=June 2011}}&lt;br /&gt;
{{Primary sources|date=April 2012}}&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox software&lt;br /&gt;
| name = Rhino&lt;br /&gt;
| logo = Inicio de ldp para 260px50px moziyarinocrnt.jpg&lt;br /&gt;
| screenshot = &lt;br /&gt;
| caption = &lt;br /&gt;
| author = Norris Boyd&lt;br /&gt;
| developer = 1997: [[Mozilla Foundation]]&amp;lt;br/&amp;gt;1998: [[Mozilla Corporation]]&amp;lt;br/&amp;gt;Present: volunteers&lt;br /&gt;
| latest release version = 1.8.0&lt;br /&gt;
| latest release date = {{Start date and age|2025|01|03}}&lt;br /&gt;
| repo = {{URL|https://github.com/mozilla/rhino}}&lt;br /&gt;
| operating system = [[Cross-platform software|Cross-platform]]&lt;br /&gt;
| platform = [[Java virtual machine]]&lt;br /&gt;
| language = &lt;br /&gt;
| programming language = [[Java (programming language)|Java]], [[JavaScript]]&lt;br /&gt;
| genre = [[JavaScript engine]]&lt;br /&gt;
| license = [[Mozilla Public License|MPL 2.0]]&lt;br /&gt;
| website = {{URL|rhino.github.io}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Rhino&amp;#039;&amp;#039;&amp;#039; is a [[JavaScript engine]] to run the [[JavaScript]] [[programming language]] written fully in [[Java (programming language)|Java]] language and managed by the [[Mozilla Foundation]] as [[free and open-source software]]. It is separate from the [[SpiderMonkey]] engine, which is also developed by Mozilla, but written in the [[C++]] language and used in the [[Firefox]] [[web browser]].&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The Rhino project began at [[Netscape]] in 1997, when they planned to produce a version of [[Netscape Navigator]] web browser written fully in Java, which needed an implementation of JavaScript written in Java. When Netscape stopped work on &amp;#039;&amp;#039;Javagator&amp;#039;&amp;#039;, as it was called, the Rhino project was finished as a JavaScript engine. Since then, a couple of major companies (including [[Sun Microsystems]]) have licensed Rhino for use in their products and paid Netscape to do so, allowing work to continue on it.&lt;br /&gt;
&lt;br /&gt;
Originally, Rhino [[Compiler|compiled]] all JavaScript code to [[Java bytecode]] in generated [[Java class file]]s. This produced the best performance, often beating the [[C++]] implementation of JavaScript run with [[just-in-time compilation]] (JIT), but suffered from two faults. First, [[compile time]] was long since generating [[bytecode]] and loading the generated [[Class (programming)|classes]] was a resource-intensive process. Also, the implementation effectively [[memory leak|leaked memory]] since most [[Java virtual machine]]s (JVM) didn&amp;#039;t [[garbage collection (computer science)|collect]] unused classes or the [[String (computer science)|strings]] that are [[String interning|interned]] as a result of loading a class file.{{Citation needed|date=February 2010}} (This changed in later Java versions.)&lt;br /&gt;
&lt;br /&gt;
As a result, in the fall of 1998, Rhino added an [[Interpreter (computing)|interpreted]] mode. The classfile generation code was moved to an optional, [[dynamic loading]] package. Compiling is faster and when scripts are no longer in use they can be collected like any other Java [[Object (computer science)|object]].&lt;br /&gt;
&lt;br /&gt;
Rhino was released to [[Mozilla Foundation]] in April 1998. Originally Rhino classfile generation had been held back from release. However the licensors of Rhino agreed to release all of Rhino as [[free and open-source software]], including class file generation. Since its release to open source, Rhino has found a variety of uses and an increasing number of people have contributed to the code.&amp;lt;ref&amp;gt;{{cite web |url = https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/History |title = Rhino History |publisher = [[Mozilla Foundation]] |access-date = 2008-03-20 |archive-url=https://web.archive.org/web/20201022021252/https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/History |archive-date=22 October 2020 |url-status=dead}}&amp;lt;/ref&amp;gt; The project gets its name from the animal on the cover of the JavaScript book from [[O&amp;#039;Reilly Media]].&amp;lt;ref&amp;gt;[http://www.oreilly.com/catalog/jscript5/ O&amp;#039;Reilly&amp;#039;s Javascript book, inspiration for the Rhino name]&amp;lt;/ref&amp;gt; As of version 1.80 (January 2025), Rhino supports [[Java version history|Java 11]] and up, and supports many [[ECMAScript]] ES6/ES2015 features.&amp;lt;ref&amp;gt;{{cite web|url=https://mozilla.github.io/rhino/compat/engines.html|title=Rhino ES2015 Support|publisher=Mozilla Foundation|access-date=2025-01-03}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
Rhino converts JavaScript scripts into [[Class (programming)|classes]]. Rhino works in both [[compiler|compiled]] and [[interpreter (computing)|interpreted]] mode. It is intended to be used in [[Client–server model|client or server side]] applications, hence there is no built-in support for the [[web browser]] objects that are commonly associated with JavaScript.&lt;br /&gt;
&lt;br /&gt;
Rhino can be used as a [[debugger]] by using the Rhino [[command-line interface]] or [[Shell (computing)|shell]]. The JavaScript shell provides a simple way to run scripts in [[batch processing]] mode or in an [[Interactive computing]] environment for [[exploratory programming]]. It can be used in applications by embedding Rhino.&lt;br /&gt;
&lt;br /&gt;
A slightly modified version of Rhino 1.6r2 comes [[Product bundling|bundled]] with the [[Sun Microsystems]] release of [[Java SE]] version 6, which was released in December 2006. This makes it easier to integrate JavaScript as part of Java programs and to access Java resources from JavaScript. Other implementations of Java 6 may differ.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Portal|Free and open-source software|Computer programming}}&lt;br /&gt;
* [[JavaScript engine]]&lt;br /&gt;
* [[List of ECMAScript engines]]&lt;br /&gt;
* [[Nashorn (JavaScript engine)]] – a now-deprecated successor to Rhino for the JVM, starting at Java 8&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* {{Official website|mozilla.github.io/rhino}}&lt;br /&gt;
&lt;br /&gt;
{{Mozilla projects}}&lt;br /&gt;
{{ECMAScript}}&lt;br /&gt;
{{Java (Sun)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:JVM programming languages]]&lt;br /&gt;
[[Category:Mozilla]]&lt;br /&gt;
[[Category:JavaScript engines]]&lt;br /&gt;
[[Category:Cross-platform software]]&lt;br /&gt;
[[Category:Software using the Mozilla Public License]]&lt;/div&gt;</summary>
		<author><name>imported&gt;TarnishedPath</name></author>
	</entry>
</feed>