C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Code Analysis in Visual C++ 11
The Microsoft Security Science team has recently posted a note about Security Development Lifecycle integration as part of the Code Analysis rules coming with the next version of Visual C++. [Read the full post]
Game Debugging in Visual Studio 11
Hi! I am Amit Mohindra, a Program Manager on the Visual C++ team. We believe Metro style games and graphics-intensive apps present a huge opportunity for developers on new devices such as tablets. The primary API for accessing the full power of the underlying graphics hardware on Windows is DirectX 11 (including Direct3D and Direct2D). One of the most significant innovations we have brought to Visual Studio 11 is a series of tools for assisting you in developing Direct3D games. We made a quick video of some of these features on Channel9 (link). In this post, I will walk through our debugging & diagnosti...
GoingNative 3: Marian Luparu answers about C++/CX
C++/CX language design team member Marian Luparu sits in the hot seat to answer some questions (a few from the GoingNative community - thank you!), draw on the whiteboard and demo some code. [Watch the episode in Channel 9]
Try It Now: Use PPL to Produce Windows 8 Asynchronous Operations
There's a new revision of the Concurrency Runtime and Parallel Pattern Library sample pack that demonstrates a convenient way of consuming and producing Windows Runtime asynchronous operations using PPL.Read the announcement at sister blog Parallel Programming in Native Code.
Inside the C++/CX Design
Hello. This is Jim Springfield, an architect on the Visual C++ team. Today, I want to give some insight into the new language extensions, officially called C++/CX, which was designed to support the new API model in Windows 8. If you attended //BUILD/, watched some of the sessions online, or have been playing with the prerelease of Visual Studio, you probably have seen some of the “new” syntax. For anyone who is familiar with C++/CLI (i.e. the language extensions we provide for targeting the CLR), the syntax shouldn’t seem much different. Please note, however, that while the C++/CX syntax...
C9 Lecture: C Runtime (CRT) Topics, by Mahmoud Saleh
In a recent Going Native episode in Channel 9, Charles (Torre) and I interviewed Mahmoud Saleh, the software engineer who keeps the C Runtime library. Now Mahmoud prepared for you a 1-hour lecture on some of the CRT topics like [Watch this Channel 9 lecture]
Announcing Wrox’s Professional C++, 2nd Edition
Greetings! I’m Marc Gregoire, a Microsoft MVP VC++ since 2007, and I’m pleased to tell you that I’ve finished work on my book “Professional C++, Second Edition”. This second edition includes the latest C++ standard, C++11, and is based on the great first edition written by Nicholas A. Solter, Scott J. Kleper. The book is published by Wiley/Wrox. Here is the official description for the book: Essential reading for experienced developers who are determined to master the latest release of C++ Although C++ is often the language of choice from game programming to major commercial software applications, it ...
C9::GoingNative 2: the Windows Runtime Library (WRL)
We're back with the third installment of C9::GoingNative. At the recent //BUILD conference, we introduced a series of technologies targeting the upcoming version of the Windows platform. One of those consists in some extensions to the C++ language, intended to help developers bridge their C++ logic to the Windows Runtime (WinRT) environment. C++/CX (the name of these extensions) is a lightweight syntax for COM creation, being COM the framework that allows components written in different languages to interoperate in Windows. In practice, it allows the user interface to be designed with ad hoc tools like MS Expre...
Asynchronous Operations in Windows 8 with the Parallel Patterns Library (PPL)
The Concurrency Runtime team is working on the next generation of the Parallel Patterns Library (PPL) that will help you consume asynchronous operations in your apps using a simpler development model than the one Windows 8 has built-in as part of its Windows Runtime.In that sense, they recently published a blog post explaining the rationale behind their abstraction library, and not less importantly, a set of samples showing these in action.