Skip to content

Lmpkessels/virtual-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Machine

License: MIT Built with Rust

Virtual Machine is a minimal Virtual Machine written in Rust, built to understand execution at the lowest level of computing and blockchain.

Every blockchain node from, Bitcoin to Ethereum to Solana, depends on a deterministic VM to execute transactions. Virtu is my first-principles exploration of that execution layer.

Installation

Make sure Rust and Cargo are installed.

git clone git@github.com:Lmpkessels/virtual-machine.git
cd virtual-machine
cargo test

cargo test will run all unit tests across the project.

Resources

To understand a Blockchain VM (Virtual Machine):

To understand an ALU (Arithmetic Logic Unit):

To understand the Stack:

To understand the cycle for the program counter:

To understand the layers of a program counter:

Contribution

Pull requests are welcome. For major changes, please open an issue first to discuss what you’d like to improve or add.

License

Licensed under MIT License.
© 2025 Luuk Kessels

Project status

Development has been stoped for this project.

Contact

About

Virtual machine is a minimal Virtual Machine written in Rust, built to understand execution at the lowest level of computing and blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages