• Home
  • Welcome to the Jungle
  • GotW
  • Elements of Modern C++ Style
  • About

Sutter’s Mill

Herb Sutter on software, hardware, and concurrency

Feeds:
Posts
Comments
« C++ and Beyond Encore: Public Registration Now Open
Another New Talk: Elements of Design »

C++ and Beyond Session: Lambdas, Lambdas Everywhere

2010-10-07 by Herb Sutter

Lambdas, Lambdas Everywhere

We’ll be posting abstracts (summaries) of the C++ and Beyond 2010 sessions over the coming days over at the C&B site. Below is the first, for my talk on “Lambdas, Lambdas Everywhere.”

This is a brand new talk. I delivered a ‘sneak peek’ preview of a subset of this material in conjunction with the ISO C++ standards meeting in Switzerland two months ago, but the full talk will be given publicly for the first time at C++ and Beyond.

Historical trivia: This talk exists because Bjarne Stroustrup asked for it. Bjarne knew that I felt lambda functions were a game-changing feature that would have a pervasive impact on C++ coding style across many domains, and he asked me to write up the examples demonstrating why. This talk is the result.

Here’s the abstract:

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 will cover what lambda functions are and how to use them effectively, including how lambdas touch many wide-ranging kinds of code — from their convenience when writing concurrent and scalably parallel code, to how they stand to revolutionize STL usability and programming, to how they enable such small conveniences as local functions and local variable initialization.

Note that lambda functions, although futuristic, are not a far-future feature. They are available today in several shipping C++ compilers, including Intel C++ 11, Microsoft Visual Studio 2010, and gcc 4.5. The future is now. Come find out how this powerful feature affects you and your code.

About the speaker: Herb Sutter is an architect on the Windows C++ team at Microsoft and the chair of the ISO C++ standards committee. He is the main designer of lambda functions in Visual C++ 2010 and their integration with the VC++ Parallel Patterns Library, and is partly responsible for the design of lambda functions in the C++0x standard, notably their final syntax.

Share this:

  • Email
  • Twitter
  • Reddit
  • Digg
  • Pinterest

Posted in C++, Software Development, Talks & Events | 3 Comments

3 Responses

  1. on 2010-10-22 at 10:12 am Another New Talk: Elements of Design « Sutter’s Mill

    [...] fireside time built into the C++ and Beyond schedule. Together with my other new talk on Lambdas, Lambdas Everywhere, my part of C++ and Beyond will be 100% new material never seen in public before — 270 [...]


  2. on 2010-10-30 at 5:29 am Aaron Ballman

    Thank you for the talk @PDC yesterday — it was entertaining (which can be hard to accomplish when discussing lambdas!) and informative. Great job!


  3. on 2011-05-17 at 9:07 am Lambdas Talk: Tomorrow night @ NWCPP, Redmond WA USA « Sutter’s Mill

    [...] talk I’ll be giving is Lambdas, Lambdas Everywhere about all the wild and wonderful uses of C++0x lambda functions. It’s hosted by the [...]



Comments are closed.

  • Tweets

    • @shanselman Please Learn To Think About Abstractions hanselman.com/blog/PleaseLea… 12 minutes ago
    • VC++ and Win8 Metro apps: May 18, livestream and on-demand: Reblogged from Sutter’s Mill: Want to know how to wr... bit.ly/LfRok9 4 hours ago
    • RT @incomputable: Why C++ (and Beyond)? Don't forget - early bird ends with May! cppandbeyond.com/2012/05/14/fro… 2 days ago
    Follow @herbsutter
  • Popular

    • Elements of Modern C++ Style
    • Welcome to the Jungle
  • Categories

    • Apple
    • C# / .NET
    • C++
    • Concurrency
    • Effective Concurrency
    • Friday Thoughts
    • GotW
    • Hardware
    • Java
    • Microsoft
    • Opinion & Editorial
    • Reader Q&A
    • Software Development
    • Talks & Events
    • Uncategorized
    • Web

Blog at WordPress.com.

Theme: Customized MistyLook by Sadish.


Follow

Get every new post delivered to your Inbox.

Join 886 other followers

Powered by WordPress.com
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.