Language Projections

One reason why the WinRT was invented was to enable development of Windows Store applications from many different popular languages, including C# and Visual Basic, but also JavaScript and C++. To make this possible, a key design goal was to make the Windows APIs look and feel familiar to each developer audience. This is where the language projections fit in.

Traditionally, using Windows APIs has been vastly different for the various runtimes and languages used to build applications. For C and C++ developers, it was usually a matter of including header files with function definitions and COM interfaces. Managed code developers either had to wait for wrappers to those native APIs or had to craft such error-prone interop layers ...

Get C# 5.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.