plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

Idea

IcemanFBW avatar image
IcemanFBW suggested IcemanFBW edited

Provide native support for Rust-based WASM modules/gauges (already implemented by FBW)

One of our developers, who has contributed extensively to the official WASM spec, wrote a library to create WASM gauges and standalone modules in MSFS (https://github.com/flybywiresim/msfs-rs/, under the MIT license). We are using it extensively for our WASM-based systems in the A32NX, and the unique features of the Rust language have proved extremely useful in development. We would love to see this get official integration so others are more inclined to make use of Rust and its memory-safe features.


Documentation: https://flybywiresim.github.io/msfs-rs/msfs/


Example of our systems code using Rust: https://github.com/flybywiresim/a32nx/tree/master/src/systems



defaultgaugeswasm
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

No Comments

· Write a Comment

Write a Comment

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.