SpaceWasm is a NASA JPL WebAssembly interpreter designed for resource-constrained spacecraft systems. It implements a constrained form of the WebAssembly 1.0 specification for executing portable onboard programs. A streaming decoder reads modules in chunks, validates them in one pass, and converts instructions into an interpretation-focused intermediate representation. Its custom memory model uses fixed-size pages to provide deterministic allocation behavior and avoid panic on allocation failure. Embedders can expose controlled host functions while restricting program access, compute time, and system interactions. The project emphasizes sandboxing, portability, predictable resource use, and compatibility with flight-software requirements. Tests, fuzzing, benchmarks, requirements, and integration components are included in the Rust codebase.

Features

  • WebAssembly 1.0 interpretation
  • Single-pass streaming decoder
  • Fixed-memory module validation
  • Deterministic page-based allocation
  • Embeddable host function hooks
  • Testing, fuzzing, and benchmarking

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow SpaceWasm

SpaceWasm Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SpaceWasm!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Libraries

Registered

2026-07-16