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

Sutter’s Mill

Herb Sutter on software, hardware, and concurrency

Feeds:
Posts
Comments
« Effective Concurrency: Maximize Locality, Minimize Contention
Stroustrup & Sutter on C++: The Interviews »

Memory Model talk at Gamefest 2008

2008-06-10 by Herb Sutter

I’ll be giving a memory model talk at Gamefest in Seattle next month. Here’s a quick summary:

Memory Models: Foundational Knowledge for Concurrent Code
July 22-23, 2008
Gamefest 2008
Seattle, WA, USA

A memory model defines a contract between the programmer and the execution environment, that trades off:

  • programmability via stronger guarantees for programmers, vs.
  • performance via greater flexibility for reordering program memory operations.

The “execution environment” includes everything from the compiler and optimizer on down to the CPU and cache hardware, and it really wants to help you by reordering your program to make it run faster. You, on the other hand, you want it to not help you excessively in ways that will break the meaning of your code. In this talk, we’ll consider why a memory model is important, how to achieve a reasonable balance, detailed considerations on current and future PC and Xbox platforms, and some best practices for writing solid concurrent code.

Posted in C++, Concurrency |

  • Tweets

    • GotW #6a: Const-Correctness, Part 1: const and mutable have been in C++ for many years. How well do you know w... bit.ly/1a7xChI 1 day ago
    • GotW #5 Solution: Overriding Virtual Functions: Virtual functions are a pretty basic feature, but they occasio... bit.ly/16PIrIW 1 day ago
    • GotW #5: Overriding Virtual Functions: Virtual functions are a pretty basic feature, but they occasionally har... bit.ly/14oTLHx 3 days ago
    Follow @herbsutter
  • Popular

    • GotW #5 Solution: Overriding Virtual Functions
    • GotW #6a: Const-Correctness, Part 1
    • Elements of Modern C++ Style
  • Categories

    • Apple
    • C# / .NET
    • C++
    • Cloud
    • 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 WPThemes.


Follow

Get every new post delivered to your Inbox.

Join 1,421 other followers

Powered by WordPress.com