Jump to content
Sign in to follow this  
Krakin

Sim Update 15 Beta (1.37.16.0) - May 1, 2024

Recommended Posts

Posted (edited)
On 5/2/2024 at 3:57 AM, bendead said:

The team behind the Duke, must be pretty word not allowed, all those cool marketing videos, released way too early

I was surprised yesterday that they went with this, as we don’t have a certain release date yet.

On 5/2/2024 at 4:01 AM, Maxis said:

I'm ok with waiting. Fix as many things as possible .. we aren't getting another service update for the rest of the year.

I had a major rant in the Duke thread about how the beta process has been dragging out. After someone pointed out what you mentioned above, I calmed down. 

The rant btw was based on my assumption that only the Neo is holding it back. Not sure if this is the case, but if it is, I strongly believe they should have handled the Neo in a separate beta.

Anyway, I’ve had no issues with the latest update.

By the way, can anyone explain the concept of WASM in an easy to understand way? Does it relate to compatibility with addon aircraft? Remember reading something about it in relation to PMDGs 737 back in the day. That it would take a long time to load into the first flight due to WASM being compiled IIRC.

Edited by Cpt_Piett

i9-12900KF @ 5.1GHz | MSI Trio Gaming X RTX4090 | MSI MPG Z690 Carbon EK X | G.Skill Trident Z5 32GB DDR5 | WD Black SN850 2TB SSD | Samsung 970 EVO Plus 500GB SSD | 2x Samsung 960 EVO 500GB SSDs | Hela 850R Platinum PCIe 5.0 w/ 12VHPWR cable | Corsair RM750X | LG 77" OLED 3840x2160 | Thrustmaster HOTAS Warthog | MFG Crosswind pedals | Thrustmaster TCA Captain Pack X Airbus Edition

“Intensify the forward batteries. I don’t want anything to get through”

Share this post


Link to post
Share on other sites
Posted (edited)
2 hours ago, Cpt_Piett said:

By the way, can anyone explain the concept of WASM in an easy to understand way?

As I understand it, MSFS uses web technology to run their planes avionics and systems (I believe an actual web browser, or at least parts of it). Probably because modern glass cockpit avionics can be built and rendered like a web page. This might seem odd but web apps are generally the way to build software that is truly cross compatible now. Because of this there’s lots of people with web and JavaScript skills so is a good choice to encourage the 3rd party market… go where the people are.

So planes avionics and systems run on web technologies including JavaScript for logic. 
 

In FSX, P3D etc, one way to write these avionics and systems was in a language called C or C++. This is because the game is likely also written in C and C++ to get the best performance (lower level language, less overhead, good for real time rendering such as games). C++ is arguably more specialised, so less people use it now, so could be seen as a barrier to entry. It definitely has its place though and in many situations can’t be compared to JavaScript.
 

Anyway… PMDG and others have lots of code written in C/C++ that they’ve developed over years. Asobo had to give them a path to keep their huge investment and not force them to rewrite everything in JavaScript. They use a solution called WASM (WebAssembly) that allows C++ code to compile and run in a web browser, so in MSFS.

Edited by NZ255
  • Like 2
  • Upvote 1

Share this post


Link to post
Share on other sites
2 hours ago, Cpt_Piett said:

By the way, can anyone explain the concept of WASM in an easy to understand way? Does it relate to compatibility with addon aircraft? Remember reading something about it in relation to PMDGs 737 back in the day. That it would take a long time to load into the first flight due to WASM being compiled IIRC.

WASM is the framework that supports add-ons written in the C++ programming language. The default programming environment in MSFS is JavaScript, and all the default aircraft are written in JS. 

C++ has some advantages in speed of execution. All of PMDG’s previous products for FSX and P3D were written in C++, and keeping C++ for their MSFS offerings allowed them to use to use their huge legacy library of tested and optimized code for their various aircraft. If they had tried to move to JavaScript, they would have basically had to scrap 20+ years of proven and optimized code (for planes like the 737),  and start over from scratch.

C++ programs are normally compiled into stand-alone executable files and DLLs (Dynamic Link Libraries) which can be run directly. MSFS does not allow this for security reasons. Instead C++ code is compiled to an intermediate form by the developer, using a WASM plug-in for Visual Studio. (VS is Microsoft’s standard software creation framework). The WASM code is compiled into final form (DLL) by the sim itself the first time a WASM-enabled add-on is loaded into the sim.

  • Like 9
  • Upvote 1

Jim Barrett

Licensed Airframe & Powerplant Mechanic, Avionics, Electrical & Air Data Systems Specialist. Qualified on: Falcon 900, CRJ-200, Dornier 328-100, Hawker 850XP and 1000, Lear 35, 45, 55 and 60, Gulfstream IV and 550, Embraer 135, Beech Premiere and 400A, MD-80.

Share this post


Link to post
Share on other sites

Thanks a lot @NZ255 and @JRBarrett!


i9-12900KF @ 5.1GHz | MSI Trio Gaming X RTX4090 | MSI MPG Z690 Carbon EK X | G.Skill Trident Z5 32GB DDR5 | WD Black SN850 2TB SSD | Samsung 970 EVO Plus 500GB SSD | 2x Samsung 960 EVO 500GB SSDs | Hela 850R Platinum PCIe 5.0 w/ 12VHPWR cable | Corsair RM750X | LG 77" OLED 3840x2160 | Thrustmaster HOTAS Warthog | MFG Crosswind pedals | Thrustmaster TCA Captain Pack X Airbus Edition

“Intensify the forward batteries. I don’t want anything to get through”

Share this post


Link to post
Share on other sites
On 5/1/2024 at 5:39 PM, DD_Arthur said:

Yes and I’ve rebooted my pc and the game several times to see if it will help but…..

same

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...