Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

Ferrugo

CircleCI codecov

Ferrugo is a JVM implementation written in Rust.

This is now just a toy project (for me/you to learn how it works).

Current Status

  • Able to run some classfiles. see ./examples/(Hello|BigInt|SmallPT).class
  • Partly support for JIT compiling powered by LLVM
  • Aiming readable code (this is the hardest, yes)

Building from Source

Building on Linux

  1. Install Rust

Run the command below and follow the onscreen instructions.

curl https://sh.rustup.rs -sSf | sh
  1. Use Rust Nightly
rustup override set nightly
  1. Install dependencies
  • LLVM 6.0
  • (Other packages as necessary...)
# e.g. Ubuntu or Debian
apt-get install llvm-6.0
  1. Test
cargo test
  1. Build and Run
cargo run --release examples/Hello.class

Building on other platforms

I don't know. Maybe almost the same as Linux.

About

Ferrugo is a JVM implementation written in Rust

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages