C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Latest posts

Oct 29, 2012
Post comments count 0
Post likes count 0

Project Austin Part 6 of 6: Storage

George Mileka [MSFT]

Hi, my name is George Mileka. I’m a developer on the C++ Libraries team. I have been working on the Project Code Name Austin for many months with Jorge, Eric, and Alan. To learn more about what the Project Code Name Austin is, you can read this great post by Jorge Pereira. For Project Austin, we have used ESE (Extensible Storage Engine) as the storage engine. In this blog post, I will explain why we chose ESE, how ESE works, and finally what abstractions we have created around it for our own use. Why use ESE? When we started thinking about how to store the pages, the strokes, and the photos in the notebook,...

Oct 29, 2012
Post comments count 0
Post likes count 0

C++ at BUILD 2012

Eric Battalio

Experience the Build conference on Channel 9 and learn how to build fierce Windows 8 apps using C++ from the experts: If you are at Build, try to catch a few of these sessions. If you were unable to make Build, watch Channel 9 for session videos. On the social front, like Visual C++ (Visual CPP) on Facebook and follow Visual C++ on Twitter! As always, we look forward to your comments, suggestions and other feedback!

Oct 25, 2012
Post comments count 0
Post likes count 2

Hello ARM: Exploring Undefined, Unspecified, and Implementation-defined Behavior in C++

Michael from Redmond

With the introduction of Windows RT for ARM devices, many Windows software developers will be encountering ARM processors for the first time. For the native C++ developer this means the potential for running afoul of undefined, unspecified, or implementation-defined behavior--as defined by the C++ language--that is expressed differently on the ARM architecture than on the x86 or x64 architectures that most Windows developers are familiar with. In C++, the results of certain operations, under certain circumstances, are intentionally ambiguous according to the language specification. In the specification this is kn...

Oct 19, 2012
Post comments count 0
Post likes count 0

C++/CX Part 4 of [n]: Static Member Functions

James McNellis

See C++/CX Part 0 of [n]: An Introduction for an introduction to this series and a table of contents with links to each article in the series. In this article, we'll take a look at static member functions and how they are supported by the Windows Runtime. A Windows Runtime reference type (also called a ref class in C++/CX, or a runtime class) can have static member functions. In C++/CX, the syntax used to declare a static member function in a runtime class is exactly the same as the syntax used in an ordinary C++ class. To demonstrate this, here is a runtime class with one static member function: (Note that we ...

Oct 18, 2012
Post comments count 0
Post likes count 0

Project Austin Part 5 of 6: Shadow Rendering

Jorge Pereira - MSFT

When we designed the user experience of Austin, we spent quite some time thinking about the different page views and layouts, and how to transition between them.  We wanted to create an immersive experience where the user can manipulate and navigate Austin's pages in an intuitive way; pages zoom in and out in 3D with pinch gestures, and the camera glides over the pages and even tilts a little bit when a finger is dragged on the screen.  This makes the pages simply appear to "float" in 3D space and move around and re-arrange themselves as needed.  To add some visual eye-candy, I spent some...

Oct 15, 2012
Post comments count 0
Post likes count 0

More Q&A for the C++ AMP book

Eric Battalio

As we shared last week, Kate Gregory and Ade Miller have released C++ AMP, an exploration of accelerated massive parallelism with Microsoft® Visual C++®. In that post, Ade answered a few of our hard-hitting questions. In this post, Kate answers the same set of questions:Q1.    “C++ AMP” in 140 characters or less?C++ apps can speed up the data parallel parts by 100x – imagine what that makes possible! And it’s C++ all the way.Q2.    How did you get interested in writing about C++ AMP?I’ve been watching parallelism and concurrency since PDC 2005 wh...

Oct 12, 2012
Post comments count 0
Post likes count 0

Check out the new C++ AMP book by Kate Gregory and Ade Miller

Eric Battalio

The C++ AMP book by Kate Gregory and Ade Miller is available in print or online from your favorite retailer! What is in it for you? Among other things, you will discover how to: I was able to corner Ade Miller long enough to answer a few questions:Q1: “C++ AMP” in 140 characters or less?“A hardware agnostic data parallel programming model for C++.”That’s pretty terse :). The C++ bit is important: C++ AMP is C++ not C.Q2. How did you get interested in writing about C++ AMP?I’ve had a longstanding interest in GPU programming. I got into it when I was writing a...

Oct 11, 2012
Post comments count 0
Post likes count 0

Project Austin Part 4 of 6: C++ AMP acceleration

Amit K Agarwal

Hello, I am Amit Agarwal, a developer on the C++ AMP team. C++ AMP is a new technology available in Visual Studio 2012 that enables C++ developers to make the best use of available heterogeneous computing resources in their applications from within the same C++ sources and the VS IDE they use for programming the CPU. Austin is a digital note-taking app for Windows 8 and the visually engaging 3D effects associated with page turning in the Austin app are powered by the use of C++ AMP. A page surface is modeled as a 3D mesh comprised of a collection of triangles each defined by the location of its vertices in 3 di...

Oct 8, 2012
Post comments count 0
Post likes count 0

Windows XP Targeting with C++ in Visual Studio 2012

Ibrahim Damlaj

Background In June, we announced enhanced targeting for Windows XP using the Visual Studio 2012 C++ compiler and libraries. This feature has been included in Visual Studio 2012 Update 1. You can download it from here. The purpose of this article is to provide an overview of the Windows XP targeting experience, the level of C++ runtime support, and noteworthy differences from the default experience shipped in Visual Studio 2012 at RTM. Windows XP Targeting Experience In order to target Windows XP, switch from the default v110 toolset to the newly introduced v110_xp toolset inside your project’s property p...