Herb Sutter: Visual C++ for Windows 8

Download this episode

Download Video

Description

Want to know how to write cool tablet apps using Visual C++? To kick off our day of Metro style programming in VC++, this talk will begin with an overview of how the WinRT type system is projected in Visual C++, then delve into how easy it is to use fast and portable C++, UIs built using XAML or DirectX or both, and powerful parallel computation from std::async and PPL to automatic vectorization and C++ AMP to harness powerful mobile GPUs... and use any or all of those tools together easily in any combination within the same Visual C++ application, delivering beautiful and responsive results on today's mainstream mobile hardware.

For more information, check out this course on Microsoft Virtual Academy:

Day:

1

Embed

Format

Available formats for this video:

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

    The Discussion

    • User profile image
      Sean

      Great talk, thanks Herb!

    • User profile image
      tomkirbygre​en

      Can't wait to download some high res MP4's of these sessions. It's great to see MS re-discovering C++ again, makes me much happier about the platform. Looking forward to getting my paws on some cheap WOA hardware to try this out on.

    • User profile image
      Aaron

      I really enjoyed this conference! It offered tons of info in a short amount of time, yet stuck true to the Metro philosophy and got me from point A to point B. Now I can feel confident developing a metro app in C++, and show off how easy it was to the C# devs!

    • User profile image
      Charles

      @Aaron: Right on! Smiley

      C

    • User profile image
      tomkirbygre​en

      Itching it watch this session... but alas still down downloadable video... [sigh] Smiley

    • User profile image
      Jorgen Sigvardsson

      My C++ personality is starting to get withdrawals... Please provide it with some fresh C++ - please C, your're my only hope!

    • User profile image
      R Potter

      I think Charles takes secret pleasure in watching us squirm :P.

    • User profile image
      Jorgen Sigvardsson

      @C Rock n' Roll!

    • User profile image
      ArmandoMeabe

      I think Charles takes secret pleasure in watching us squirm Tongue Out.

       

      Big Smile Crying

    • User profile image
      Charles

      Here you go! Thanks to Larry and Golnaz for filming this event!! Smiley

      C

    • User profile image
      Chris

      Are there any guidelines what kind of apps are suitable for being a Metro app? So far the examples have been viewing recipes in a cookbook and viewing flower pictures in an album. I don't think there'll ever be a Metro app that can do anything useful.

      I just tried Windows 8 in a virtual machine. Sorry, but this Metro UI is just unusable.

    • User profile image
      Charles
    • User profile image
      Semi Essessi

      Its a shame it comes with "programmers can't manage memory" reference counting magic. Want to use Windows::System::Threading::ThreadPool::RunAsync to call a delegate on some reference class instance? - well constructing a delegate won't increase the reference count... this and other confusing to debug errors await. Let me manage my own memory - when I write a whole game and the one leak that can be found comes out of reference counting (I refer to an iOS/OS X game) I get the distinct impression that I am better at managing memory myself than any of these "automatic" systems...

      Want to block on the main thread for 1ms as part of timesliced logic? Again MS don't trust you to be a good enough programmer... there are exceptions thrown if you stall the main thread using ppl.

      I wouldn't mind if this stuff was better implemented and solved problems I actually have... I get that most programmers are too inept to manage their own memory and struggle with threading, but frankly, I'm not.

      Not to mention the limitations on using DirectX with XAML and the blatant unfinished-ness of the platform at large...

    • User profile image
      sulfide

      @Semi
      Everyone says they are better off managing their own memory, yet every app is full of errors and vulnerabilities. Somehow I don't believe you after everything I've seen in the code auditing business.

    • User profile image
      dcuccia

      Very much enjoyed this talk and the others. Thanks to the organizers for putting this together.

      Disappointed to hear today that MS is blocking the C++11 compiler in VS 11 Express from targeting desktop applications. How can MS supposedly support OSS so strongly with Codeplex, ASP.NET, etc, and then turn around and do this?

    • User profile image
      Jason

      This event wasn't called "Developing Windows 8 Metro style apps with C++" because C++ would be some ultimate language for writing Metro apps. It's because the C++ community would be the first to abandon Metro and you guys tried to prevent it.

      You decisions are now getting some media coverage. I think you're going down. http://arstechnica.com/information-technology/2012/05/no-cost-desktop-software-development-is-dead-on-windows-8/

    • User profile image
      Charles

      @Jason:


      If you watch - and listen - to the presentations here it should be abundantly clear that C++ is an excellent language to use for building high performance (employing GPGPU programming techniques via C++ AMP and/or CPU-based async/parallelism using PPL), power efficient, powerful Windows 8 Metro style apps, games and cross language consumable WinRT components...

      You get to use C++ + XAML + DirectX to push the limits of user experience. You can  - if you want or need to - program directly at the ABI (just like WinRT itself...) using an ATL-like library (WRL).

      This is the wrong thread for the Express 11 debate. This thread - this event - is about C++ (including Windows platform-specific extensions) applied to Metro application, game and component development.

      C

    • User profile image
      Pantou_Ekang

      Great Prasentation, thanks Herb!

    • User profile image
      Qiang

      Is anybody here puzzled by Herb's excessive body language ?
      It is so distracting and it's still evading my understanding what
      those gestures mean :(

    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.