alexdovzhanyn / AlchemyVM

WebAssembly Virtual Machine Built In Elixir
MIT License
189 stars 5 forks source link

Allow decoded modules to be passed in directly #14

Closed alexdovzhanyn closed 5 years ago

alexdovzhanyn commented 5 years ago

If we can take a module in directly, rather than only its binary representation, we can skip the decoding step of the VM altogether and go straight to verification / execution. This would allow for caching on the user end and improve performance.

This will involve having some way of decoding a module and having it returned to the end user for storage, and a function that takes in a decoded module and initializes it within the VM