Desktop Apps• Can’t be deployed or sold though the market place. Only a description and a linked will be available• If it runs in Windows 7 it will run in Windows 8
Windows 8 (Metro) Apps• Primarily deployed and sold through the market place• Can be side loaded if signed by certificate which is trusted by the target PC• Sandboxed
WinRT Break Down• Exposes UI model for new ‘Metro look’• APIs are all designed to be asynchronous• Unmanaged (Implemented at ABI level using COM as a base)• Upgraded COM object model, delegates & events• The API definitions are exposed in ECMA 335 metadata format, the same one .NET uses. (C:windowssystem32winmetadata*.winmd)
.NET on WinRT• Reference WinRT as if it was a .NET assembly• Intelligent type mapping, no intermediate COM interop artifacts. This is built into CLR and because of metadata format.• Can only reference WinRT if app targets Windows 8 subset of .NET• Windows 8 .NET subset is similar to the Client Profile but with only core functionality
C++ on WinRT• C++ language extensions map WinRT to standard C++ patterns such as constructors, class methods … etc and hides COM concepts like reference count.
Windows RT VS Windows 8 Windows RT Windows 8• Only bundled with tablets • Bundled with tablets• Runs on ARM architecture • Bundled with PCs• Start menu Metro environment • Available for consumer purchase• Bundled with Office RT • Runs on Intel (x86) architecture • Start menu Metro environment • Desktop environment
Summary• Multiple target environments• Multiple OS versions with different capabilities• New low level API with multiple stacks build on top of it