ref-fvm
ref-fvm copied to clipboard
Investigation: Using Wasm Type Interfaces
- https://hacks.mozilla.org/2019/08/webassembly-interface-types/
- https://github.com/WebAssembly/interface-types
Basically, this is an attempt to make a "better" FFI for cross-language interop. Importantly, it tries really hard to avoid serializing/converting types.
I'm wondering if there's a way to "ipldize" it to get the best of both worlds.
It looks like implementation progress is being made, but it still doesn't look ready: https://github.com/bytecodealliance/witx-bindgen.