Microsoft says new Windows App SDK delivers “incredible” performance gains

Serving tech enthusiasts for over 25 years.

TechSpot means tech analysis and advice you can trust.

Forward-looking: Initially deployed in 2021, the Windows App SDK is designed to provide a comprehensive set of APIs and tools for building modern Windows desktop applications. Developers can choose between the traditional Win32 API model or UWP/WPF, while benefiting from modern controls provided by WinUI 3 and broad compatibility with both Windows 10 and Windows 11.

Microsoft recently announced the release of Windows App SDK version 1.6, which the company claims will deliver substantial performance improvements and footprint reductions for “modern” Windows 11 (and 10) apps. The most significant update is the addition of support for Native Ahead-Of-Time (AOT) compilation.

When developers publish their apps as Native AOT, the code is compiled into native instructions, eliminating the need for an interpreter to run the app. Microsoft explained that Native AOT apps benefit from faster startup times and reduced memory footprints, addressing two major concerns users have expressed about some apps shipping with Windows 11.

In Microsoft’s own tests, a sample app (Contoso Camera) converted to a Native AOT package saw a 50 percent reduction in startup time and an eight percent decrease in package size when using a “framework package.” Apps shipped in self-contained mode were also twice as small.

While results may vary depending on the app, Microsoft is encouraging developers to explore Native AOT for their projects.

The updated Windows App SDK also introduces a “decoupling” of the Edge WebView2 SDK, which was previously embedded in every app as a hard-coded layout engine. Using a full browser engine for a single app naturally consumes a lot of RAM and CPU resources, so Microsoft has decided to make significant changes to how the engine is accessed going forward.

According to Microsoft, if an app uses WebView2 to display content, the engine is now accessed as a “NuGet reference” rather than being included within the app itself. NuGet is a package manager primarily used for applications developed with .NET and the .NET Framework, delivering packages as single Zip files with the .nupack or .nupkg extension.

Other updates in Windows App SDK 1.6 include new package deployment APIs, which now offer additional options for removal, provisioning, and detection of pending registration and locally available updates. Additionally, the WinUI 3 TabView control has been significantly enhanced, providing a better drag-and-drop experience.

Note: This article have been indexed to our site. We do not claim legitimacy, ownership or copyright of any of the content above. To see the article at original source Click Here

Related Posts
A Ransomware Gang Claims It Hacked Amazon's Ring thumbnail

A Ransomware Gang Claims It Hacked Amazon’s Ring

The ransomware gang known as ALPHV has claimed a successful attack on Amazon-owned home security company Ring. A cybercriminal group known for its despicable tactics, the gang is now threatening to publish the company’s sensitive data if its financial demands are not met. On Monday, the malware research organization VX-underground tweeted screenshots of the ransomware
Read More
Berliner Impact-Fonds Revent: Mit 60 Millionen Euro für eine bessere Welt thumbnail

Berliner Impact-Fonds Revent: Mit 60 Millionen Euro für eine bessere Welt

Renommierte Namen glauben an den Fonds, der auf Gesundheit, Klima, Ernährung und Soziales setzt. Außerdem: Konsolidierung im Fintech-Sektor und Virgin Hyperloop entlässt fast die Hälfte seiner Belegschaft. Emily Brooke, Otto Birnbaum, Lauren Lentz und Henrik Grosse-Hokamp managen den Revent-Fonds.Revent Guten Morgen! Während ihr geschlafen habt, ging andernorts die Arbeit in der Digitalszene weiter. Die Top-Themen: Der…
Read More
Today's Wordle Answer #622 – March 3, 2023 Solution And Hints thumbnail

Today’s Wordle Answer #622 – March 3, 2023 Solution And Hints

Wachiwit/Shutterstock Having solved a few hundred Wordle puzzles, we've observed one thing: most answers are either obscure words with simple letter combinations or common words with difficult letter combinations. On lucky days you might get a common word with a simple letter combination, but today is not one of those days. The answer to today's
Read More
WhatsApp starts beta testing Wear OS app thumbnail

WhatsApp starts beta testing Wear OS app

A big part of Wear OS 3 was getting more third-party developers on the platform, and WhatsApp is now testing an app for the Pixel Watch, Galaxy Watch 5, and other devices. The app starts with a simple list of recent contacts with “Settings” (for your details and Security notifications) and “Open on phone” rounding
Read More
Nio won’t increase vehicle price in near future: report thumbnail

Nio won’t increase vehicle price in near future: report

Posted inNews Feed by TechNode Feed Mar 22, 2022Mar 22, 2022 Nio said on Monday that it has no plans to increase the prices of any of its electric vehicle models “in the near term” as it hopes to maintain price stability “for the benefit of customers,” Chinese media outlet Sina Tech reported (our translation).…
Read More
Index Of News
Total
0
Share