Getting autonomy software onto a spacecraft takes years. Mars 2020's Enhanced Navigation (ENav) took about five: one year to develop the algorithm, two to write and integrate hardened C flight code, and two more for V&V. Because ENav shares memory with the rest of flight software, the project is still cautious about updating it.
SpaceWasm is an open-source WebAssembly interpreter for flight software and the engine behind advanced sequencing in F Prime (F´). Each module runs in its own sandbox, has a compute budget, and reaches the spacecraft only through an interface defined up front. If a module has a memory bug or uses up its budget, it stops and flight software keeps running. Updating a module is much simpler than updating flight software, and code can be written in any of about 70 languages that compile to WebAssembly, including Fpy and Rust for F´ advanced sequences.
The video covers:
Source code: https://github.com/nasa/spacewasm
F´ advanced sequencing docs: https://fprime.jpl.nasa.gov/devel/docs/reference/system-functional/advanced-sequencing/
Authors: 358T (Andrei Tumbar, Cole Wilson, Harry Wang, Steven Myint)