ewasm / hera

Hera: Ewasm virtual machine conforming to the EVMC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support wasmer as VM

axic opened this issue · comments

Hi,

Is someone already working on this issue? If not then I'm willing to implement this task 🙂

Any details/notes/suggestions/guidance I should know about before I start working on this task?

cc @axic

Wasmer has similarities to https://github.com/CraneStation/wasmtime .

Would need support for calls between Hera C++ functions and Wasmer Rust functions. If Rust supports C calling conventions, then maybe extern "C" in Hera will prevent the name mangling and to use C calling conventions. Also need to share memory pointers across languages. And might need to catch each other's exceptions.

Might be easier to rewrite hera in Rust.

Given recent progress on Rust bindings for EVMC, this seems to be better suited for https://github.com/ewasm/hera.rs

Closing it here.