GithubHelp home page GithubHelp logo

cyberflamego / cheerpj-meta Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leaningtech/cheerpj-meta

0.0 2.0 0.0 1.34 MB

CheerpJ - convert Java bytecode to WebAssembly and JavaScript

Home Page: https://www.leaningtech.com/pages/cheerpj.html

HTML 100.00%

cheerpj-meta's Introduction

title
CheerpJ - Convert Java to WebAssembly and JavaScript

Gitter chat GitHub Issues Live Demos

CheerpJ is a Java bytecode to WebAssembly and JavaScript compiler, compatible with 100% of Java, which allows to compile any Java SE application, library or Java applet into a WebAssembly/JavaScript application.

Main project link: http://leaningtech.com/cheerpj/

Download latest version: Latest version Latest version changelog

Link to latest runtime: https://cjrtnc.leaningtech.com/2.2/loader.js

If you are unsure how to start, try our Tutorial.

What is CheerpJ?

CheerpJ is constituted of three components:

  1. The CheerpJ AOT compiler, an LLVM-based Java-bytecode to JavaScript compiler. This can be used to convert Java archives (e.g. .jar) or single .class files to JavaScript. The CheerpJ AOT compiler is available for Linux, macOS and Windows.
  2. The CheerpJ runtime library, a full Java SE runtime in WebAssembly and JavaScript, that can be distributed in part or in full with applications converted with CheerpJ.
  3. The CheerpJ on-the-fly Java-to-JavaScript compiler, a reduced JavaScript version of the CheerpJ compiler that can be distributed with applications converted with CheerpJ to enable dynamic features of Java such as reflection.

What is unique about CheerpJ?

  1. CheerpJ can convert 100% of Java including reflection and proxy class creation, with no manual intervention on the code.
  2. CheerpJ works directly on Java bytecode, and does not require access to the Java source code.
  3. CheerpJ comes with a full Java SE runtime, inclusive of Swing/AWT. It supports audio, printing, and any other Java SE component. The runtime supports WebAssembly for optimal performance and size.
  4. The JavaScript code generated by CheerpJ is highly optimised and garbage-collectible.
  5. CheerpJ enables bidirectional Java-JavaScript interoperability. JavaScript libraries, as well as the DOM, can be called and manipulated from Java. Converted Java modules can be invoked from JavaScript.
  6. CheerpJ supports Java multi-threading. In addition, it allows to create concurrent applications by using WebWorkers.

Getting Started

You can download CheerpJ for Linux, Windows and macOS on our website (https://leaningtech.com/cheerpj/)

To get started with CheerpJ, please refer to the following pages:

  1. CheerpJ Tutorial
  2. Getting Started
  3. Command Line Options

Demos

Several demos of CheerpJ can be found at https://leaningtech.com/demo/?cheerpjfilter

Bugs and Questions

We welcome any feedback and bug report on it through our Issue Tracking.

You can also find us on Gitter.

cheerpj-meta's People

Contributors

alexp-sssup avatar carlopi avatar marsicplusplus avatar sderossi avatar

Watchers

 avatar  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.