Microsoft says it will offer 50% faster loading times & up to 8X smaller memory footprint in Windows 11 applications through native AOT support.
Native Ahead-Of-Time Compilation improves Windows 11 app performance drastically
Windows 11 apps can be a mess and a lot of them are currently facing issues such as slow launch and performance lags. This has made the experience on Windows 11 a nightmare for users who would want to download the apps from their App Store. However, the recent claim by Microsoft is looking good for Windows App SDK-based applications.
The latest Windows App SDK 1.6 is now offering much better performance. Windows App SDK has been problematic for countless developers as the SDK has been known to cause various performance issues with app development. While there have been efforts by Microsoft to mitigate these issues, many issues still exist that have made using WinAppSDK-based apps a nightmare.
With the integration of Native AOT(Ahead-Of-Time) compilation, Microsoft claims that the performance of apps has greatly improved along with better app interactions. Native AOT apps won't use the Just-In-Time compiler and can run on systems without .NET runtime installed.
Typically, a lot of WinAppSDK apps would launch very slowly and many of them would introduce bugs. With the Native AOT support, the developers can now optimize their apps significantly. According to Microsoft, the Native AOT compilation can:
- Quicken the launch time of apps by 50%
- Reduce the app size by up to 8 times
- Reduce the app size by 2X when utilizing the SDK in self-contained mode
There are several other additional features and improvements with the Native AOT support which promise to improve the overall experience with the apps. These include Enhanced Package Management APIs for more efficient application management, Decoupling of WinAppSDK from Edge WebView2 for better flexibility in developing Windows apps, and a new CanTearoutTabs mode, which allows users to 'drag tabs out of the application's TabView'.
As Microsoft has stopped embedding the hard-coded Edge WebView2 SDK into the WinAppSDK, it has now started offering the Edge WebView2 SDK as a NuGet to help reduce the size of the apps. Microsoft has also released several bug fixes to ensure a better user experience as well and with such improvements, Windows 11 App Store should provide a pleasant experience shortly.
News Source: Windows
Follow Wccftech on Google to get more of our news coverage in your feeds.
