cybics/comp/wasm.md

wasm

WebAssembly — a portable bytecode format and stack-based virtual machine, designed for safe, fast execution across browsers, edge runtimes, blockchains, and embedded hosts. one binary instruction set; many host implementations.

webassembly.org · feature status

cyber's runtime

cyber embeds wysm as its wasm runtime — a hard fork of wasmi v2, extended with jet substitution, finite-wasm metering, an actor harness, and a trident-lowering on-ramp. lives at ~/cyber/wysm.

ecosystem

  • runtimes: wasmi, wasmtime, wasmer, WAMR, TinyWasm, Stitch
  • chains: cosmwasm, substrate, Stellar Soroban, NEAR, DFINITY Internet Computer
  • languages with stable wasm targets: rust, ts, go, C/C++, Zig, AssemblyScript
  • browser support: universal since 2019 (Chromium, Firefox, Safari, Edge)

discover all concepts

Homonyms

cyb/legacy/wasm
CyberWasm A byte machine for sovereign computing. The Problem cosmwasm is a transaction processor pretending to be a computing environment. Programs cannot live in memory. Programs cannot wake themselves up. Programs pay for abstractions they never asked for. Every call crosses a Go→CGo→Rust→Wasm…
bootloader/bostrom/wasm
store-code sender bostrom1frk9k38pvp70vheezhdfd4nvqnlsm9dw3j8hlq wasmByteCode particle clear-admin sender bostrom1frk9k38pvp70vheezhdfd4nvqnlsm9dw3j8hlq, contract bostrom1nwnejwsdpqktusvh8qhxe5arsznjd5asdwutmaz9n5qcpl3dcmhsujhemd update-admin sender bostrom1frk9k38pvp70vheezhdfd4nvqnlsm9dw3j8hlq,…
neural/trident/vm/wasm
WASM (WebAssembly) [← Target Reference](/neural/trident/reference/targets) Parameters | Parameter | Value | |---|---| | Architecture | Stack | | Word size | 64-bit (i64), 32-bit (i32) | | Hash function | -- (runtime-dependent) | | Digest width | 32 bytes | | Stack depth | Operand stack (unlimited,…

Graph