wiki:WinRT

Version 1 (modified by riza, 7 years ago) (diff)

--

Windows Runtime (WinRT) Overview

This document is compiled from various sources in hopes to give better understanding to users in regards to WinRT and specifically its relation to Windows RT and Windows Phone.

Windows Runtime

Windows Runtime, or shortly WinRT, is Microsoft’s new programming model that makes the backbone of the new Metro-style apps. It is designed in hopes to solve many of the problems of Win32, from an apps perspective. Apps created for WinRT are safe, secure, and sandboxed, can’t wreck other apps and all install in just 2-3 seconds. They feature isolated storage, single folder installs (as per the Mac), and require user consent to access the general file system.

WinRT isn’t another abstraction layer; it’s a new runtime sitting directly on top of the Windows Kernel Services just like the good old Win32 API as shown in the above figure. WinRT APIs includes a subset of traditional Win32, Component Object Model (COM), and .NET Framework APIs, as well as HTML5 and CSS3 APIs that are accessible to Metro style app developers.

Windows RT

Windows RT is another member of Windows family, previously known as Windows on ARM (WOA). Software for Windows RT can be either downloaded from Windows Store or sideloaded, although sideloading on Windows RT must first be enabled by purchasing additional licenses through Microsoft volume licensing outlet. Desktop software that run on previous versions of Windows cannot be run on Windows RT as Windows Store apps are based on Windows Runtime (WinRT) API which differs from the traditional apps.

Although it's not confirmed, some said that "RT" stands for Runtime which might be the source of confusion in regards to Windows Runtime API. To make things less confusing between Windows RT and Windows Runtime (API), we’ll just call Windows Runtime API as WinRT.

Windows Phone Runtime

Windows Phone Runtime(WPRT) is a subset of native API that is built into the operating system.

The diagram has three distinct areas and these are described as follows:

  1. The set of WinRT API not supported on WPRT.
  2. The set of WinRT API adopted for WPRT API. This is represented by area 2 in the above diagram and consists of approximately 2,800 members. There might be some differences (types) which is noted in the API reference documentation.
  3. The set of API adopted for WPRT are represented by area 3 in the diagram. For example, brand-new APIs for speech synthesis and recognition, VOIP, and other features. These APIs use the WinRT style APIs, meaning you can use them regardless of the programming language you use for your app.

Reference:

  1. http://en.wikipedia.org/wiki/Windows_Runtime
  2. http://www.codeproject.com/Articles/328551/Part-Introduction-to-WinRT-the-new-Windows-Runti
  3. http://en.wikipedia.org/wiki/Windows_8_editions

Attachments (2)

Download all attachments as: .zip