Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prototype: https://github.com/soramitsu/iroha2-wasm-prototype

proscons
  1. Well known and established in Blockchain space (Polkadot, Kusama, other Substrate based networks)
  2. Well known and developing fast in web programming space
  3. Officially supported by Rust compiler as a target
  4. Rust core team is contributing to wasmtime
  5. It might be required for bridging Substrate based networks
  6. We have experience in it within our team and teams closely working to us
  7. Developed by wide community
  1. Requires nightly for the smart contracts themselves
  2. Difficult to limit memory further than 3GB in wasmtime (needs more research)
  3. 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

proscons
  1. Well established as scripting language for game engines and many other tools

Needs more research

Rhai

Language: Rhai

Runtime: cutsom

proscons
  1. Minimalist
  2. Easy interoperability with Rust types at the first glance
  1. Developed by small community

Needs more research if deemed necessary

...