Fucking WHY? You need wasm when you don't know your hardware target. Why would you not know your target in a space mission?
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
An interpreter is significantly easier to sandbox than native execution, and it means they can make guarantees the host system won't crash no matter what the program running is.
I could see it being useful for allowing third parties to run experiments on their hardware in space without having to manually verify the code safety.
That's a pretty good rationale, actually.
I can think of a few potential advantages:
-
Portability: It means you can change your hardware target and you only have to worry about re-certifying this, instead of an entire compiler.
-
Testing: You can probably run your WASM code fully deterministically in a deterministic simulation much easier than native code. Also when developing you don't need the actual hardware.
-
Isolation / compartmentalisation. If I were them I would be strongly considering using the WASM component model (in future).
It would be good if they put their actual motivation in the readme though.