Theres something about the new WinRT API and the languages that target it (either directly or indirectly) and their relationship with XAML that I dont understand.
- .NET languages (C#, VB.Net, F#) can be used to build XAML Metro apps that run on a 'api-restricted' CLR that in turn runs on WinRT
- C++ can be used to build unmanaged XAML apps that run directly on top of WinRT APIs
My question is this - does the XAML in scenario 1 get converted to BAML, and then MSIL (as per traditional .NET apps), or is there a new mechanism for this? If not, then how does the compiler building unmanaged apps convert the same XAML into native instructions? Do the two scenarios get resolved with the same compilation strategy? If so, then how?