Re:Microsoft Flight Simulator 2024: WebAssembly SDK
by RachelF on Tuesday July 29, 2025 @06:02PM
(#44728776)
I wonder how much slower it is than C/C++ compiled dlls?
Re:Microsoft Flight Simulator 2024: WebAssembly SDK
by izacus on Wednesday July 30, 2025 @07:43AM
(#44732965)
My experience is now a few years old, but WASM binary we had ran less than 10% slower than C++ Clang compiled native binary from the same source. And that was for rendering code which is rather CPU intensive and benefits from optimisation.
WASM is surprisingly fast.
Is there evidence to support that it's the WASM Mod format that's the issue? Based on that page it's not like MSFS2024 is even running WASM, it's simply using WASM as an IL that is precompiled into a DLL on application startup.