Resurgence-VM-Development / Resurgence

The Resurgence VM, a register virtual machine designed for simplicity and ease of use, based on the old Rendor VM
https://crates.io/crates/resurgence
MIT License
14 stars 0 forks source link

`Cardinal` and decoupling `RunTimeSeal` #16

Closed StandingPadAnimations closed 1 year ago

StandingPadAnimations commented 1 year ago

The idea is to decouple RunTimeSeal from the interpreter and replace it with Cardinal. Cardinal wraps around the interpreter process and acts like a simple kernel, handling extension calls and all that

Pros:

dynafide commented 1 year ago

I think this design is too complicated for this project. This design would be useful if Resurgence were a standalone VM application similar to the Java JVM, but for our goal of ease of embedding, I think the current design is better because it is easier for the user to manage, doesn't have any unneeded complexity, and the runtime comes fully isolated out of the box.