standbyme/jvm-rs
JVM-RS -- A Demo Memory-Safe JVM on Rust
{ "createdAt": "2018-06-17T05:44:35Z", "defaultBranch": "master", "description": "JVM-RS -- A Demo Memory-Safe JVM on Rust", "fullName": "standbyme/jvm-rs", "homepage": "", "language": "Rust", "name": "jvm-rs", "pushedAt": "2024-11-28T04:12:35Z", "stargazersCount": 131, "topics": [ "rust" ], "updatedAt": "2025-08-31T07:03:27Z", "url": "https://github.com/standbyme/jvm-rs"}jvm-rs
Section titled “jvm-rs”A JVM on Rust under development.
Strive to achieve
- Clear structure.
- Well tested
- Minimal Unsafe(Only src/util/converter.rs has unsafe code)
- Minimal Mutable
- Functional Programming
Now it support Arithmetic Operation, Control Flow and println function call. It’s very easy to understand and follow.
Welcome Star : )
Introduction
Section titled “Introduction”jvm-rs is a toy JVM (which is far from complete) programmed in Rust inspired by jvm.go. The main purpose of this project is learning Rust and the JVM. So the number one goal of the project is readability of code. The basic idea is to just implement the core JVM, and use rt.jar (from OpenJDK) as its class library.
My dev environment
Section titled “My dev environment”- Ubuntu 18.04
- Java 1.8.0_172
- Rust 1.27.0
Get and Build jvm-rs
Section titled “Get and Build jvm-rs”Ensure your Java version is 1.8.0_172 and JAVA_HOME env was set
git clone https://github.com/standbyme/jvm-rs.gitcd jvm-rscargo test