AOT support

Winsage
September 18, 2024
Microsoft has introduced enhancements to applications developed with the Windows App SDK, resulting in load times that can be up to 50% faster and reduced app sizes. These improvements are primarily due to Native Ahead-Of-Time (AOT) compilation. The Windows App SDK connects Win32 and UWP, providing developers access to modern APIs. Microsoft acknowledged performance issues in its applications, such as Photos and Phone Link, which have slow launch times. A temporary solution suggested is running the app in the background. Native AOT support improves startup times and reduces memory usage, but developers must integrate this feature. Preliminary tests show applications loading up to 50% faster and app packages being eight times smaller. Apps in self-contained mode have seen size reductions of up to 2x. The management of the Edge WebView2 SDK has been revised to minimize app package sizes, although this does not directly improve performance. Applications built with Windows App SDK 1.6 featuring Native AOT are expected to show better performance and smaller file sizes over time, but issues with slow launch times will remain until developers update their apps.
Winsage
September 18, 2024
Microsoft has introduced native Ahead of Time (AOT) support in the Windows App SDK, which is expected to significantly improve application launch times for Windows 11. Internal testing indicates a 50% reduction in application start times and an approximate eightfold decrease in package size. The AOT feature allows applications to be compiled to native code in advance, bypassing the usual translation process during execution, thereby reducing workload and improving startup speed. However, the effectiveness of AOT will depend on developers updating their applications to utilize this capability, and improvements will take time to manifest as adoption varies among developers.
Search