Browse by Tags

Tagged Content List
  • Blog Post: Parallel STL - Democratizing Parallelism in C++

    Only a few years ago, writing parallel code in C++ was a domain of the experts. Nowadays, this field is becoming more and more accessible to regular developers thanks to the advances in libraries, such as the PPL and C++ AMP from Microsoft, Intel's Threading Building Blocks, OpenMP or OpenACC if you...
  • Blog Post: STL Resources on MSDN

    Before reviewing the excellent standard template library resources on MSDN (including Channel 9), did you know Visual Studio 2013.1 (Update 1) is available now? Brian Harry writes about the release on his blog, mentioning that the release is smaller and focused on working better with IE versions prior...
  • Blog Post: C99 library support in Visual Studio 2013

    Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team. In this blog post I want to share some information about the C99 support added to the C run-time library in Visual Studio 2013. To summarize, we added declarations and implementations for missing functions in the following...
  • Blog Post: do-while, casts, ODR, variadic templates - Core C++, Part 8

    Part 8 of my third video lecture series (covering the C++ Core Language) is now available. In this part, I covered several topics: why I avoid do-while loops, how C and C++ casts behave and why they're dangerous, what the One Definition Rule is and how to follow it, and how my toy program to sort arrays...
  • Blog Post: Template Argument Deduction - Core C++, Part 2

    Part 2 of my third video lecture series (covering the C++ Core Language) is now available. In this part, I took an hour to explore template argument deduction, including what "non-deduced contexts" are - and how they can be used to your advantage! For reference, here are all of the links to my video...
  • Blog Post: STL Bugs Fixed In Visual Studio 2012

    After Pat's post last week about MFC bugs fixed in Visual Studio 2012 (aka VC11), I thought that a similar list for the STL would be interesting: ID Title 492128 std::locale constructor modifies global locale via "setlocale()" 492561 STL streams cannot be used concurrently...
  • Blog Post: What Are SCARY Iterators?

    Hi there! I’m Diego Dagum, a Program Manager with the Visual C++ team. As Stephan announced last September when Visual Studio 11 Developer Preview was released , our STL implementation comes with SCARY iterators . On Stephan’s words, ”(…) as permitted but not required...
  • Blog Post: 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...
  • Blog Post: C++11 Features in Visual C++ 11

    UPDATE - March 2, 2012 : the range-based for-loop and override/final v1.0 have been implemented in VC11 Beta. There's a new C++ Standard and a new version of Visual C++, and it's time to reveal what features from the former we're implementing in the latter! Terminology notes : During its development...
  • Blog Post: Container Pretty Printer - Advanced STL, Part 6

    In Part 6 of my second video lecture series focused on the Standard Template Library, I demonstrate how to write a "pretty printer" for STL containers that's capable of formatting a vector<tuple<int, string, int>> as [(1, "ten", 100), (2, "twenty", 200), (3, "thirty", 300)]. It's easy to...
  • Blog Post: Advanced STL Lectures, Part 5: the Boost Library

    In this 5th part of the advanced series, Stephan T. Lavavej digs into the Boost Library . In his words, it's an open source, super quality, community-driven Standard Template Library (STL) . Stephan will walk you through a sample application from end to end, using Boost. New to the Standard Template...
  • Blog Post: The Visual C++ Weekly Vol. 1 Issue 18 (Apr 30, 2011)

    Read in this issue : Advanced STL, Part 4 Concurrency Runtime: Transporting Exceptions between Threads DirectCompute Lecture Series 101: Introduction to DirectCompute (C++ and Beyond) Adventures in Perfect Forwarding (InformIT) Ten Techniques to Reduce the Size of Your Classes, Part I MS11-025 Visual...
  • Blog Post: Just Posted: Stephan T. Lavavej’s Advanced STL, 4 of n

    The 4th part of this series digs into rvalue references , perfect forwarding and associative containers . Advanced STL covers the gory details of the STL's implementation -> you will therefore need to be versed in the basics of STL, competent in C++ (of course), and be able to pay attention! Stephan...
  • Blog Post: The Visual C++ Weekly Vol. 1 Issue 15 (Apr 9, 2011)

    Read in this issue : Build Related Improvement in VS2010 SP1 The Asynchronous Agents Library (Stroustrup) Famous applications built in C++ The Concurrency Runtime and Visual C++ 2010: Automatic Type Deduction _ITERATOR_DEBUG_LEVEL - Advanced STL, Part 3 Concurrency Runtime (CRT)...
  • Blog Post: _ITERATOR_DEBUG_LEVEL - Advanced STL, Part 3

    In Part 3 of my video lecture series exploring the Standard Template Library's implementation, I explain how our powerful correctness checks in debug mode work. In VC10, they're controlled by the macro _ITERATOR_DEBUG_LEVEL, which supersedes VC8 and VC9's more confusing _SECURE_SCL and _HAS_ITERATOR_DEBUGGING...
  • Blog Post: The Visual C++ Weekly Vol. 1 Issue 13 (Mar 26, 2011)

    Read in this issue : [Herb Sutter] C++0x: We Have Final Draft International Standard! [Parallel Patterns Library] Building Responsive GUI Applications with PPL Tasks [C++ MVP Giovanni Dicanio] Text-to-Speech in C++ [Danny Kalev] Detecting Memory Leaks to Improve Performance [C++ MVP...
  • Blog Post: The Visual C++ Weekly Vol. 1 Issue 11 (Mar 12, 2011)

    Read in this issue : [MS Parallel Programming] Sorting in PPL [Visual C++ team] Visual Studio 2010 Service Pack 1 General Availability [John Socha-Leialoha] C++/CLI to C++ Tips and Tricks [Thomas Becker] C++ Rvalue References Explained [Stephan L. Lavavej] Algorithm Optimizations -...
  • Blog Post: Algorithm Optimizations - Advanced STL, Part 2

    Part 2 of my video lecture series exploring the Standard Template Library's implementation is now available. In this part, I walk through how our STL algorithms equal() and copy() use template metaprogramming to detect when it's safe to call memcmp() and memmove(), which are potentially faster than the...
  • Blog Post: The Visual C++ Weekly Vol. 1 Issue 8 (Feb 19, 2011)

    Read in this issue : Win32++: A Simple Alternative to MFC How do you build a community of users that give high quality comments on a website? What’s so cool about Boost.MPI? W00t W00t Nix Nix! Concurrency Runtime (CRT): The Resource Manager CPU Caches and Why You Care shared_ptr - Advanced STL, Part...
  • Blog Post: shared_ptr - Advanced STL, Part 1

    Part 1 of my video lecture series exploring the Standard Template Library's implementation is now available. In this part, I explain how some of shared_ptr's magic works, including type erasure and make_shared<T>()'s optimizations that save both space and time. This advanced series assumes...
  • Blog Post: PDC 2010: Lambdas, Lambdas Everywhere

    Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize. This talk from last PDC covers what lambda functions are and...
  • Blog Post: Rvalue References and Type Traits - Video Introduction to the STL, Parts 9 and 10

    The final parts of my video lecture series introducing the Standard Template Library are now available. Part 9 covers a single function, std::move() , and explains how rvalue references power move semantics. Part 10 covers <type_traits>, a header added by TR1/C++0x, and explains the basics of template...
  • Blog Post: Regular Expressions - Video Introduction to the STL, Part 8

    C++0x's <regex> header combines Perl's regular expressions with C++'s templates and iterators. The result, like the rest of the STL, is insanely powerful but potentially overwhelming at first sight. It's actually easy to use, and much easier than writing string processing code by hand. I demonstrate...
  • Blog Post: Video Introduction to the STL, Parts 6 and 7

    Part 6 and Part 7 of my video lecture series introducing the Standard Template Library are now available; they cover algorithms and functors. Previous parts: Part 1 (sequence containers) Part 2 (associative containers) Part 3 (smart pointers) Part 4 ( Nurikabe solver introduction...
  • Blog Post: Video Introduction to the STL, Part 5

    In the fifth part of my video lecture series introducing the Standard Template Library, I explain how the advanced analysis in my Nurikabe solver works. One of its steps involves using a breadth-first search to detect any unreachable cells. Mandatory prerequisites of Part 5 are reading Wikipedia...
Page 1 of 2 (31 items) 12