Visual C++ and the Native Renaissance

Download this episode

Download Video

Description

With the upcoming releases of Dev11 and Windows 8, there has never been a better time to be a C++ developer! Metro-style applications, C++/CX, DirectX, the C++11 language standard, C++ AMP for GPGPU, multicore, the cloud, and new IDE tooling all combine to make C++ the continued gold standard when it comes to power, performance, and portability. This session gives developers a tour of all that new and exciting for C++ developers on Microsoft platforms, including a variety of demos and drill-downs into the most important topics.
For more information, check out this course on Microsoft Virtual Academy:

Day:

2

Level:

300

Code:

DEV368

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      pierremf

      In this talk, SteveT mentions another session about C++/CX, an in-depth C++ Metro talk (which happened the day after this session). Is this other session available somewhere? Thx.

       

    • User profile image
      pierremf
    • User profile image
      liux0229

      Great talk! One comment: you seem to imply that C++ is lower level than C#/Java? I'd disagree. C++ allows you to work on lower level stuff when you need to, but nothing prevents you from expressing and using higher level abstractions with C++ (e.g. a smart pointer is an abstraction over how memory is managed). 

      The plain C++ language itself (w/o the standard library) doesn't try to provide many things "out of the box", so without good libraries it takes longer to get to the same speed as some other languages because you'd have to take the time to build the necessary building blocks. On the other hand C++ does provide convenient mechanisms for you to express abstractions so you can easily build constructs that could be difficult to express in other languages.

      One example of this is using RAII to express lock/unlock semantics. C# has a built-in language feature "using" which does the same. The difference is that there are other semantics that share the same pattern with lock/unlock. You could easily express them with RAII in C++, but in C# you probably would need to resort to try...catch...finally because the language does not provide those "out of the box".

      (For the record I am a huge fan of C# too. There is just no total ordering over programming language virtues Smiley)

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.