Hacker News new | ask | show | jobs
by jsheard 865 days ago
Microsoft Flight Simulator also uses WASM for plugins, which allows them to run portably on both the PC and Xbox versions of the game, with sandboxing, and still get decent performance.

https://docs.flightsimulator.com/html/Programming_Tools/WASM...

It should also be future proof should they ever do a native ARM build.

1 comments

I do wonder why this use case - using wasm as cross-platform, cross-architecture portable binaries with performance profile "close enough" to optimized native code - is not more common. One can easily imagine an OS directly supporting such binaries even, JIT-compiling and caching them as needed.