koute / polkavm-experiment

An experimental RISC-V recompiler
Apache License 2.0
18 stars 1 forks source link

How is this project differ compare to other open source risc-v VM? #1

Open vivekvpandya opened 1 year ago

vivekvpandya commented 1 year ago

If this is with respect to https://forum.polkadot.network/t/exploring-alternatives-to-wasm-for-smart-contracts/2434 Then can't following be used in substrate? For example https://github.com/nbdd0121/r2vm Or https://github.com/teivah/majorana

koute commented 1 year ago

No.

I don't really have the time to write out a full essay as to why, but suffice to say they are simultaneously missing features that we need (e.g. very strong sandboxing, guaranteed O(n) recompilation into AMD64 machine code, high performance, etc.) and have many features that we don't need nor want (e.g. privileged ISA emulation, multicore emulation, full riscv64gc support, can run normal unconstrained binaries, simulate unnecessary low level details, emulate a full von Neumann model, etc.)