PluotSorbet: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
We keep PluotSorbet simple and small by leveraging existing Java code as much as possible, including the [http://en.wikipedia.org/wiki/PhoneME phoneME reference implementation], and implement as little as possible in JavaScript.
We keep PluotSorbet simple and small by leveraging existing Java code as much as possible, including the [http://en.wikipedia.org/wiki/PhoneME phoneME reference implementation], and implement as little as possible in JavaScript.


You can run PluotSorbet in your [https://github.com/mozilla/PluotSorbet/blob/master/README.md#desktop desktop browser] (we develop with Firefox and Chrome), in the SpiderMonkey command-line tool, [https://github.com/mozilla/PluotSorbet/blob/master/README.md#firefoxos-device-or-emulator in the Firefox OS Simulator, or on a Firefox OS device].
You can run PluotSorbet in your [https://github.com/mozilla/pluotsorbet/blob/master/README.md#desktop desktop browser] (we develop with Firefox and Chrome), in the SpiderMonkey command-line tool, [https://github.com/mozilla/pluotsorbet/blob/master/README.md#firefoxos-device-or-emulator in the Firefox OS Simulator, or on a Firefox OS device].


== Source Code ==
== Source Code ==
Line 12: Line 12:
You can find all the source code for PluotSorbet, plus detailed instructions on how to build and run it, at:
You can find all the source code for PluotSorbet, plus detailed instructions on how to build and run it, at:


https://github.com/mozilla/PluotSorbet
https://github.com/mozilla/pluotsorbet


== Bug Reporting ==
== Bug Reporting ==


Please report bugs at [https://github.com/mozilla/PluotSorbet/issues/new our GitHub repository].
Please report bugs at [https://github.com/mozilla/pluotsorbet/issues/new our GitHub repository].


== Automated Testing ==
== Automated Testing ==


We run [https://github.com/mozilla/PluotSorbet/blob/master/README.md#tests automated tests based on CasperJS and SlimerJS] on every commit to our GitHub repository, [https://travis-ci.org/mozilla/PluotSorbet thanks to Travis]. You can run them locally with `make test`.
We run [https://github.com/mozilla/pluotsorbet/blob/master/README.md#tests automated tests based on CasperJS and SlimerJS] on every commit to our GitHub repository, [https://travis-ci.org/mozilla/pluotsorbet thanks to Travis]. You can run them locally with `make test`.


== Performance Profiling ==
== Performance Profiling ==


We're using [https://github.com/mozilla/PluotSorbet/blob/master/README.md#profiling several different tools] to assess and improve the performance of PluotSorbet, including both JavaScript and Java profiling. See the GitHub README for more details.
We're using [https://github.com/mozilla/pluotsorbet/blob/master/README.md#profiling several different tools] to assess and improve the performance of PluotSorbet, including both JavaScript and Java profiling. See the GitHub README for more details.


== Compilation ==
== Compilation ==


We've created an [https://github.com/mozilla/PluotSorbet/blob/master/README.md#compiling-with-aot-compiler ahead-of-time (AOT) compiler] to compile some Java code at build time.
We've created an [https://github.com/mozilla/pluotsorbet/blob/master/README.md#compiling-with-aot-compiler ahead-of-time (AOT) compiler] to compile some Java code at build time.


<hr>
<hr>
''<small>{{anchor|JavaScript}}[1] JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries, used under license.</small>''
''<small>{{anchor|JavaScript}}[1] JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries, used under license.</small>''

Revision as of 19:02, 17 June 2015

Welcome to the PluotSorbet project!

PluotSorbet implements a Java-compatible virtual machine and J2ME-compatible platform written in JavaScript[1]. The goal of PluotSorbet is to run MIDlets in web apps without a native plugin.

We keep PluotSorbet simple and small by leveraging existing Java code as much as possible, including the phoneME reference implementation, and implement as little as possible in JavaScript.

You can run PluotSorbet in your desktop browser (we develop with Firefox and Chrome), in the SpiderMonkey command-line tool, in the Firefox OS Simulator, or on a Firefox OS device.

Source Code

You can find all the source code for PluotSorbet, plus detailed instructions on how to build and run it, at:

https://github.com/mozilla/pluotsorbet

Bug Reporting

Please report bugs at our GitHub repository.

Automated Testing

We run automated tests based on CasperJS and SlimerJS on every commit to our GitHub repository, thanks to Travis. You can run them locally with `make test`.

Performance Profiling

We're using several different tools to assess and improve the performance of PluotSorbet, including both JavaScript and Java profiling. See the GitHub README for more details.

Compilation

We've created an ahead-of-time (AOT) compiler to compile some Java code at build time.


[1] JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries, used under license.