Giter Site home page Giter Site logo

js2me's Introduction

JS2ME

It's an implementation of Java ME in JavaScript for Firefox OS.

Available at Firefox OS Marketplace

Compatibility

Hard to say. There's a lot of different classes in J2ME ecosystem, not only MIDP. Currently it supports most of Java bytecode, part of MIDP and it's able to run few J2ME games and application.

Performance

Performance is great. It's intended to run smoothly on Firefox OS crapphones like Keon so must work as fast as possible. Thanks to aggressive JIT optimizations it's much faster than any other JVM written in JavaScript.

App

It exists. You only have to clone this repository and push to your phone. If you don't want any superfluous files you can use $ ./buildApp.sh.

Contribution

Feel free to submit a pull requests. There's also short guide how to write your own pseudo-Java classes.

Why there are two versions of app?

Normal edition is privileged Firefox OS app with more working features, but it's slower. X edition is faster, but has less features. It's good enough for gaming.

Milestones

Milestone 0.1 - Hello world (test.jar) works (done)

Milestone 0.2 - Picross (picross.jar) works (done)

Milestone 0.2.5 - Play around... (done)

Milestone 0.3 - Run FPC benchmark (done)

Milestone 0.4 - Optimizations (done)

Milestone 0.5 - Firefox OS application (rejected)

Milestone 0.6 (done)

  • performance (done, much better than expected!)
  • tests (done)
  • loading screen (done)
  • scroll (done)

Milestone 0.7

  • more performance (done)
  • more tests (done)
  • repair canvas (done)
  • method generating (done)
  • file input (done)
  • settings (done)
  • error popup (done)
  • orientation (done)
  • remove hover (done)
  • bug with doubles (done)
  • method stub (done)

Milestone 0.8

  • Run Tomb Raider (done)
  • Run Courage the Coward Dog (done)
  • App (rejected)

Milestone 1.0

  • Run Ginger (done)
  • Run JaduGadu (no, this doesn't work anyway)
  • Priviliged app (fuck!, looks like we need two versions of app) (done)
  • Rewrite the compiler... two times, with JIT (master branch) and as interpreter (privileged branch) (1/2, good enough)
  • Make forms work perfectly, with nice tests and candies (naaahh, too lazy)

Milestone 1.1

  • Run Opera Mini
  • Release X edition

Somewhere in future...

  • MIDI support
  • M3G
  • JavaWorker
  • pass Microemu unit tests

Thanks

Zip.js

Asteroids.jar

js2me's People

Contributors

szatkus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.