Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jun 10, 2023. It is now read-only.
/jvm-oldPublic archive

Pure Rust implementation of the JVM 7 specification

License

NotificationsYou must be signed in to change notification settings

birbe/jvm-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

badgeRust

Warning! This crate is unsafe at the moment.


A pure Rust implementation of the JVM 7 spec, with the main goals being to be able to eventually:

  • Run the OpenJDK 7 Java source
  • Have a Cranelift-backed JIT, and an AOT WASM compiler.

Roadmap

  • Deserialize Java 7 classes

  • Type-checking of bytecode (!)

  • Get basic bytecode running

  • Get heap allocation and object creation working

  • Improve stability

  • Monitors and error handling

  • Fully implement all bytecode

  • Get the OpenJDK 7 source to load and run.

  • Stop-the-world GC

  • Bytecode metrics

  • Cranelift JIT

  • Concurrent GC

  • Ahead-of-time WASM compiler


Library Usage

Look in main.rs of the jvm_test crate for an example.

cargo run -p jvm_test -- --mode <i, stepper>

Unsafety

This library is under heavy development, and as such is very unstable and unsafe(!) to use. The main issues arise fromthe fact that executed bytecode is not currently type-checked.

TLDR: don't use this for anything important, nor on anything you don't trust.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp