Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.87 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.87 KB

wakatime Build & Test

About

This is a VM to execute the binary file format .rsbf from the RaychelScript Scripting Language. The VM is designed to be as much light weight as possible to maximize performance. This version currently only supports Version 4 of RaychelScript.

Features

  • Works with perfectly fine Files ✔
  • CLI Arguments ✔

  • Any Error Handling inside the execution Loop (to be implemented) 🛠
  • Any Advanced File Reading Error Handling (to be implemented) 🛠
  • In General any Real Error Handling when sth stupid happens inside the VM (to be implemented) 🛠

Usage

First clone the GitHub repo

git clone https://github.com/plexx-dev/rsc-vm

Then if you want change the given File Input in the

src/main.rs

Then run the actual VM with

cargo run --release <YOUR INPUT ARGUMENTS SEPERATED WITH A WHITESPACE CHARACTER>

Example:

cargo run --release 2 3

Important

If you think you can expect any masterpiece or in general in any way a decently optimized Code here, you're wrong. This is just to brag about my friend Weckyy702 that Rust is or can be faster than C++.

Even though iam completly new to Rust and barley take advantage of Rust's full potential. This is faster by a order of magnitude than the original Version of the RaychelScript VM, which it's original author Weckyy702 has written in C++.

So i guess we all can assume Rust > C++.