...
Prototype: https://github.com/soramitsu/iroha2-wasm-prototype
pros | cons |
---|
- Well known and established in Blockchain space (Polkadot, Kusama, other Substrate based networks)
- Well known and developing fast in web programming space
- Officially supported by Rust compiler as a target
- Rust core team is contributing to wasmtime
- It might be required for bridging Substrate based networks
- We have experience in it within our team and teams closely working to us
- Developed by wide community
| - Requires nightly for the smart contracts themselves
- Difficult to limit memory further than 3GB in wasmtime (needs more research)
- No Interface Types Support - so it has to be simulated through passing serialized bytes or mapping memory
|
Rust - eBPF
Needs more research
Lua
Language: Lua
Runtime: rlua
pros | cons |
---|
- Well established as scripting language for game engines and many other tools
|
|
Needs more research
Rhai
Language: Rhai
Runtime: cutsom
pros | cons |
---|
- Minimalist
- Easy interoperability with Rust types at the first glance
| - Developed by small community
|
Needs more research if deemed necessary
...