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

STL Performance
Hello, I am Mohammad Usman, a Software Design Engineer in Test on the Visual C++ Libraries team. I recently joined the team. In VS 2008 SP1, we invested heavily in our Standard Template Library (STL) implementation by adding TR1 extensions such as shared_ptr, including performance optimizations for things like vectors of shared_ptrs. In this post, I will be talking about how we take this investment further by improving our STL performance in VS2010. We have done some re-writing of our libraries to make them more conformant to the C++0x standard, more flexible and extendible, and to improve performance in a...

Channel 9 Video: Bogdan Mihalcea: The New VC++ Project/Build system – MSBuild for C++
Bogdan Mihalcea is a developer on the Visual C++ team. During the development of Visual Studio 2010 he has been feverously working on converting our build system to target MS Build as the build infrastructure for Visual C++ 2010 Solutions/Projects. There are many reasons motivating this changeover. For awhile now having to deal with two different build systems, VC Build and MS Build, has been a little bothersome for many of our customers who had a mix of native and managed code. Secondly, a lack of parity would mean that useful features appeared in one system which may not be mirrored in the other. Fi...

Channel 9 Video: David LeBlanc (and Ale Contenti): Inside SafeInt
David LeBlanc and Michael Howard literally wrote the book on “Writing Secure Code”. David has also developed the SafeInt class, a template class that performs “checked” operations on integer types (with a name like SafeInt what else would you expect). In VS2010 we decided to ship the SafeInt class in the box, so users no longer need to go and download it separately and “install” it themselves. Ale Contenti was the main instigator behind this decision and now that VS2010 Beat 1 has shipped, Ale and David meet with Charles from Channel 9 to talk about the class ...

Call Hierarchy
Hello everyone, My name is Raman Sharma and I am a PM on the VC++ IDE team. I want to talk about a new feature called Call Hierarchy in Visual Studio 10. As the name suggests, it is used for navigating all functions called from within a particular function and all functions that make calls to a particular function. Many of you would know of a feature called Call Browser which was present in VC6, VS2005 and VS2008, and provided similar functionality. The Call Hierarchy feature is the revamped version of Call Browser, better organized and easier to use. In VS2010, Call Hierarchy has been des...

VS Project Team Blog Is Up!
The VS Project team, part of Platform team, own the C# and VB project systems brought their expertise to the table along with the VC++ team to give you an extensible and much more powerful project system. The team maintains a blog at http://blogs.msdn.com/vsproject/ where we will blog about project system topics in much more detail. Stay Tuned!!! Thank you, Visual C++ Team

Follow up On Feedback From Beta1 and DevLab About VC Project Conversion’s Performance
Hi, My name is Bogdan Mihalcea and I’m a developer on the C++ Project & Build team. In the last 2 years I worked on a new C++ project system build on top MSBuild. I’m writing this blog to share some excellent news related to improvements we made to the performance of project conversion since the Beta1 build. This was possible because of the feedback we got from you, and I want to thank you for doing so! During our development milestones, we had tests reporting that we have a very slow conversion for specific types of projects. They were usually containing many files (1000+) and they...

Channel 9 Video: Louis Lafreniere: Next Generation Buffer Overrun Protection – gs++
Thanks to a recent VC Blog post by Hongwei Qi, you already know that we have worked on our /GS switch for VS2010. You can already try it out with the VS2010 Beta 1 too. Recently Charles Torre from Channel 9 stopped by and spoke with one of our Channel 9 regular speakers Louis Lafreniere about this work. Native code developers care deeply about getting both performance and security correct in their applications – and /GS impacts both of these. Please enjoy the video and feel free to post any questions/feedback on the Channel 9 site – we are very keen to know how the changes affect your applications.&nb...

C++ Gets Squiggles!
Hello, I’m Mitchell Slep, a developer on the Visual C++ compiler team. I’m very excited to tell you about a new feature in Visual Studio 2010 - C++ IntelliSense can now display compiler-quality syntax and semantic errors as you browse and edit your code! We display a wavy underline or “squiggle” in your code at the location of the error. Hovering over the squiggle will show you the error message. We also show the error in the Error List window. The squiggles are great for showing you errors in the code you are currently viewing or editing, whereas the Error Li...

Off to California
The Visual C++ team is hosting a summit with ISVs in the San Jose / Bay Area next week. We have two full days packed with sessions centered on native code. Attendees will learn how Visual C++ 2008 provides a powerful and flexible development environment for creating Microsoft Windows–based applications. In addition, now that we have released Visual Studio 2010 Beta 1, we’re going to dive in and talk about all the great things coming in the future for C++ developers. From Windows 7 and multi-core development to the architectural changes in the IDE, we hope there will be lots to discover and learn.Here&...