JWebAssembly
wasmer-jni
JWebAssembly | wasmer-jni | |
---|---|---|
5 | 1 | |
956 | 7 | |
0.5% | - | |
5.1 | 0.0 | |
12 months ago | over 1 year ago | |
Java | Rust | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
JWebAssembly
-
CC:Tweaked meets WASM
For those that don't know. Wasm is a bytecode that aims to improve performance in browsers. Instead of having to interpret quite complex high-level code, the wasm interpreter takes a specialized bytecode and runs that on a simulated cpu. This not only promises to be a lot more performant than JS but it gives us another big advantage: In theory any language can be compiled into. The biggest supported languages atm are C++, Rust, JS, Ruby, Go and Python. Kotlin and Java are not officially supported, but Kotlin supports native compilation to WASM and Java has the JWebAssembly project.
-
Java 編譯成 WebAssembly 的工具
JWebAssembly
-
Just got this text from a friend
Done
-
Java for Everything
https://github.com/i-net-software/JWebAssembly
> you wouldn't write your Tensorflow code in Java
Why?
Kernel modules and device drivers are probably the only example where you need to pick another tool.
- Godot Kotlin Alpha is OUT !
wasmer-jni
-
CC:Tweaked meets WASM
The biggest integration library is wasmer. It's intended as a server runtime for wasm. The official port wasmer-java has the problem of not supporting imports and that's also not to be implemented in the near future (they are restructuring the wasmer library according to this issue), the other is wasmer-jni. An inofficial jni-binding for the wasmer base implementation. Less nice to use, but feature complete.
What are some alternatives?
Micronaut - Micronaut Application Framework
wasmer-java - ☕ WebAssembly runtime for Java
GoJavaWasm - A Java project for running Go(lang)'s WebAssembly code
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
godot-jvm - Godot Kotlin JVM Module
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
GNU Emacs - Mirror of GNU Emacs
jni-rs - Rust bindings to the Java Native Interface — JNI
Laythe - A gradually typed language originally based on the crafting interpreters series
teavm - Compiles Java bytecode to JavaScript, WebAssembly and C
flapigen-rs - Tool for connecting programs or libraries written in Rust with other languages