*** Welcome to piglix ***

Rhino (JavaScript engine)

Rhino
Inicio de ldp para 260px50px moziyarinocrnt.jpg
Developer(s) Mozilla Foundation, Mozilla Corporation
Stable release
1.7.7.1 / February 1, 2016; 11 months ago (2016-02-01)
Repository github.com/mozilla/rhino
Development status Active
Written in Java
Operating system Cross-platform
Platform Java Virtual Machine
Type JavaScript engine
License MPL
Website www.mozilla.org/rhino

Rhino is a JavaScript engine written fully in Java and managed by the Mozilla Foundation as open source software. It is separate from the SpiderMonkey engine, which is also developed by Mozilla, but written in C++ and used in Mozilla Firefox.

The Rhino project was started at Netscape in 1997. At the time, Netscape was planning to produce a version of Netscape Navigator written fully in Java and so it needed an implementation of JavaScript written in Java. When Netscape stopped work on Javagator, 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.

Originally, Rhino compiled all JavaScript code to Java bytecode in generated Java class files. 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, compiling time was long since generating bytecode and loading the generated classes was a resource-intensive process. Also, the implementation effectively leaked memory since most Java Virtual Machines (JVM) didn't collect unused classes or the strings that are interned as a result of loading a class file. (This has changed in later versions of Java.)


...
Wikipedia

...