PolkaVM - A fast and secure RISC-V based virtual machine

Hello everyone, I believe that Rootstock has at least the capacity to use different VMs in the future when/if needed, I figured it might be interesting to some of you to check PolkaVM which seems to be a promising project (that I am not associated with at all) aiming to be a RiscV VM that is very close to the native performance, but with much smaller binaries and often faster compilation than alternative existing RiscV VMs GitHub - paritytech/polkavm: A fast and secure RISC-V based virtual machine · GitHub

My limited experience with it, suggests that it works very well with Rust.

I would definitely love if one day I can deploy code to Rootstock without learning Solidity or get out of my comfort zone in Rust, with its guard rails.

Thanks fr all the work on Rootstock.

I know about PolkaVM and Rootstock already has a binary header to specify a different VM when executing contracts.

The question is how hard is to integrate PolkaVM into a Java reference client, because there is no feature complete Rust node for Rootstock.

It is not urgent (although I admit writing Mlkut name system registry in Rust instead of Slodity would be lovely), and I can’t tell how hard it would be to integrate in Java. But if no one tries by the time I have a good Rust implementation in rust (minus EVM) then I would give it a try. I have a long journey ahead of me I am afraid.

You’re welcome to try the integration of PokaVM into Rootstock. It would be great to do some performance comparisons and Rust/Solidity code side-by-side.

Putting this in production would require a lot of community review, and probably also some external security audits, but I would love to see a Risc-V VM embedded in Rootstock.

1 Like