Awesome
<div align="center">Rise JVM</div>
<div align="center"> <nav> <a href="https://risehere.net/rise-jvm">Live Demo</a> | <a href="https://github.com/amazingrise/rise-jvm-core">Rise JVM Core</a> </nav> </div>Rise JVM is a minimal Java VM based on WASM. No server needed.
✨Have a try
<a href="https://risehere.net/rise-jvm">Live Demo</a>
About Rise JVM Core
This is only a frontend of Rise JVM Core.
Compiling
Automatically via GNU make:
make all
For TinyGo users:
tinygo build -o main.wasm -target wasm ./main.go
cp $(shell tinygo env TINYGOROOT)/targets/wasm_exec.js .
For Go users:
GOARCH=wasm GOOS=js go build -o main.wasm main.go
cp "$(shell go env GOROOT)/misc/wasm/wasm_exec.js" .
We recommend TinyGo instead of Go, which results in a smaller binary size.
Features
These features are tested and work well:
- Simple Integer Arithmetic
- Calling functions
- System.out.println
- Creating Objects
- Looping
Not working yet:
- Polymorphism
- Standard Input
You can find implemented opcodes here.