https://github.com/stackdoubleflow/leprd
A toy Java Virtual Machine written in Rust.
https://github.com/stackdoubleflow/leprd
Last synced: 5 months ago
JSON representation
A toy Java Virtual Machine written in Rust.
- Host: GitHub
- URL: https://github.com/stackdoubleflow/leprd
- Owner: StackDoubleFlow
- Created: 2022-03-30T22:59:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T23:54:55.000Z (about 2 years ago)
- Last Synced: 2025-04-01T14:14:47.443Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 311 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# leprd
A toy Java Virtual Machine written in Rust.
`leprd` is in very early development. Notably, it is lacking:
- Exceptions
- Just-In-Time compilation
- JNI
- Synchronization
- (Some) Reflection
`leprd` depends on the openjdk 22 implementation of the standard library. In an existing openjdk installation, one can find this in the `libs` directory.
On nixos:
```sh
mkdir modules && cd modules
cp $(sudo nix eval --raw nixpkgs#jdk22.outPath)/lib/openjdk/lib/modules .
jimage extract modules
```