- Messages
- 162
- Country
You answered by your self, i'm one of "those with legacy C++ code"It's not really clear in what circumstances C++ gauge development makes sense over javascript.
I don't think there's a practical speed difference within the sim given the coding practices common in gauges (I have a PhD in computer science so I understand the diffference in execution model and that trivial instruction sequences execute quicker in WASM than JS) . My guess is C++ -> WASM gauge code will be deprecated in due course (shock, horror). Of course those with 'legacy' C++ gauge code will want to migrate rather then re-write but I don't think I would use C++ otherwise.
While I'm on a rant, the naming of the most basic calls used in gauge code in C++ and JS make me smile, i.e "get_named_variable_value()" and "SimVars.GetSimVarValue()". No-one thought just "SimVars.get()" ?
Furthermore guess that SimConnect is still a must for complex aircafts, does JS have SimConnect ?
cheers