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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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

1 day ago