I’ve alway’s thought it’s a shame that WebAssembly has the word “web” in it. Gives it a connotation that it’s “only for browsers” or something.
Meanwhile, NASA’s over here with a flight-compliant derivative (SpaceWASM) intended for spacecraft!
The intent is writing mission software to a standardized bytecode, where the end platform / ISA is otherwise arbitrary. In other words, run the same mission package on ARM, Rad-hard PowerPC, RISC-V, whatever.
Thus, after-flight you could (safely) upload new payloads with “approved” APIs.
Weird to think about, but just like buggy WASM code shouldn’t crash your browser…the same logic applies to not crashing your critical flight hardware.