Quantcast
Channel: Concurrency – Sutter’s Mill
Browsing latest articles
Browse All 68 View Live

Image may be NSFW.
Clik here to view.

Effective Concurrency: Eliminate False Sharing

This month’s Effective Concurrency column, “Eliminate False Sharing”, is now live on DDJ’s website. People keep writing asking me about my previous mentions of false sharing, even debating whether it’s...

View Article



Image may be NSFW.
Clik here to view.

VS2010 Beta 1 Now Available

For those of you who are interested in using or trying Microsoft development tools, I’m happy to report that Visual Studio 2010 Beta 1 is now available. If you’re interested in: concurrency and...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Break Up and Interleave Work to Keep Threads Responsive

This month’s Effective Concurrency column, “Break Up and Interleave Work to Keep Threads Responsive”, is now live on DDJ’s website. Sorry for the long title; suggestions welcome. I always try to word...

View Article

Image may be NSFW.
Clik here to view.

Answering email about error handling in concurrent code

Someone emailed me today asking: I’m writing because I’m somewhat conscious of what I would consider a rather large hole in the parallel programming literature. … What if one or more of your tasks...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: The Power of “In Progress”

This month’s Effective Concurrency column, The Power of “In Progress”, is now live on DDJ’s website. From the article: Don’t let a long-running operation take hostages. When some work that takes a long...

View Article


Image may be NSFW.
Clik here to view.

Effective Concurrency: Design for Manycore Systems

This month’s Effective Concurrency column, Design for Manycore Systems, is now live on DDJ’s website. From the article: Why worry about “manycore” today? Dual- and quad-core computers are obviously...

View Article

Image may be NSFW.
Clik here to view.

“What’s the Best Way To Process a Pool of Work?”

“What’s the best way to process a pool of work?” is a recurring question. As usual, the answer is “it depends” because the optimal answer often depends on both the characteristics of the work itself...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Avoid Exposing Concurrency – Hide It Inside...

This month’s Effective Concurrency column, Avoid Exposing Concurrency – Hide It Inside Synchronous Methods, is now live on DDJ’s website. From the article: You have a mass of existing code and want to...

View Article


Image may be NSFW.
Clik here to view.

whois terry.crowley

Astute readers may have noticed that Terry Crowley’s name frequently crops up in the Acknowledgments section of my Effective Concurrency columns. Who is Terry? To answer, Mary-Jo Foley profiles him...

View Article


Image may be NSFW.
Clik here to view.

A Concurrency Poll

I’ve opened up a short concurrency poll to get a sense of what concurrency issues are top-of-mind for programmers, and I’d appreciate it if you could take a few minutes to participate. Some questions...

View Article

Image may be NSFW.
Clik here to view.

PDC’09: Tutorial & Panel

For those of you coming to PDC’09 in Los Angeles a couple of weeks from now, I’ll be there for a few hours on Monday and Wednesday participating in two events: Patterns of Parallel Programming: A...

View Article

Image may be NSFW.
Clik here to view.

Other Concurrency Sessions at PDC’09

  I mentioned yesterday that I’ll be involved in two sessions at PDC09, including a parallel patterns tutorial. I know many of you are interested in concurrency in general and on Microsoft platforms in...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Prefer structured lifetimes – local, nested, bounded,...

This month’s Effective Concurrency column, Prefer structured lifetimes – local, nested, bounded, deterministic, is now live on DDJ’s website. From the article: Where possible, prefer structured...

View Article


Image may be NSFW.
Clik here to view.

C++ and Beyond: Summer 2010, Vote the Date

I always enjoy teaching together with Scott Meyers and Andrei Alexandrescu, not only because it means I get to work with good friends, but also because I get to listen to them speak. Scott and Andrei...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Prefer Futures to Baked-In “Async APIs”

This month’s Effective Concurrency column, Prefer Futures to Baked-In “Async APIs”, is now live on DDJ’s website. From the article: When designing concurrent APIs, separate "what" from "how" Let’s say...

View Article


Image may be NSFW.
Clik here to view.

Igor Ostrovsky and the Seven Cache Effects

My colleague Igor Ostrovsky has written a useful summary of seven cache memory effects that every advanced developer should know about because of their performance impact, particularly as we strive to...

View Article

Image may be NSFW.
Clik here to view.

Machine Architecture slides back online

A number of people reported that the PDF slides for my Machine Architecture talk were offline. It turns out that the NWCPP servers were recently moved and the link temporarily broken, but it’s now been...

View Article


Image may be NSFW.
Clik here to view.

Effective Concurrency Europe 2010

Last May, I gave a public Effective Concurrency course in Stockholm. It was well-attended, and a number of people have asked if it will be offered again. The answer is yes. I’m happy to report that...

View Article

Image may be NSFW.
Clik here to view.

Links I enjoyed reading this week

Concurrency-related (more or less directly) Samples updated for ConcRT, PPL and Agents (Microsoft Parallel Programming blog) Update to the samples for the Visual Studio 2010 Release Candidate. Hmm, I...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Prefer Using Futures or Callbacks to Communicate...

This month’s Effective Concurrency column, “Prefer Using Futures or Callbacks to Communicate Asynchronous Results,” is now live on DDJ’s website. From the article: This time, we’ll answer the following...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Know When to Use an Active Object Instead of a Mutex

This month’s Effective Concurrency column, “Know When to Use an Active Object Instead of a Mutex,” is now live on DDJ’s website. From the article: Let’s say that your program has a shared log file...

View Article


Image may be NSFW.
Clik here to view.

Interview on Channel 9

Over the holidays, Erik Meijer interviewed me on Channel 9. We covered a wide variety of topics, mostly centered on C++ with some straying into C#/Java/Haskell/Clojure/Erlang, but ranging from auto and...

View Article


Image may be NSFW.
Clik here to view.

Book on PPL is now available

For those of you who may be interested in concurrency and parallelism using Microsoft tools, there’s a new book now available on the Visual C++ 2010 Parallel Patterns Library (PPL). I hope you enjoy...

View Article

Image may be NSFW.
Clik here to view.

C++ and Beyond 2011

I’m very much looking forward to C++ and Beyond 2011 this August, again with Scott Meyers and Andrei Alexandrescu. All of my own talks will be brand-new material never given publicly before. This...

View Article

Image may be NSFW.
Clik here to view.

Keynote at the AMD Fusion Developer Summit

In a couple of months, I’ll be giving a keynote at the AMD Fusion Developer’s Summit, which will be held on June 13-16, 2011, in Bellevue, WA, USA. Here’s my talk’s description as it appears on the...

View Article


Image may be NSFW.
Clik here to view.

Interview on Channel 9

Channel 9 just posted a new interview with me about ISO C++0x, C++’s place in the modern world, and all things C++. The topics we talked about ranged pretty widely, as you can see from the questions...

View Article

Image may be NSFW.
Clik here to view.

AFDS Keynote Live Stream

Just a reminder for those interested in using C++ to harness GPUs for fast code: My keynote at AMD Fusion Developer’s Conference will be webcast live. I’ll post another link when the recorded talk is...

View Article

Image may be NSFW.
Clik here to view.

C++ AMP keynote is online

Yesterday I had the privilege of talking about some of the work we’ve been doing to support massive parallelism on GPUs in the next version of Visual C++. The video of my talk announcing C++ AMP is now...

View Article

Image may be NSFW.
Clik here to view.

Daniel Moth’s C++ AMP session is now online

In my keynote on Wednesday, I highlighted just the top two important features in the C++ AMP programming model. That afternoon, my coding colleague and demo demigod Daniel Moth gave a 45-minute session...

View Article



Image may be NSFW.
Clik here to view.

Talk Video: Welcome to the Jungle

Last month in Kansas City I gave a talk on “Welcome to the Jungle,” based on my recent essay of the same name (sequel to “The Free Lunch Is Over”) concerning the turn to mainstream heterogeneous...

View Article

Image may be NSFW.
Clik here to view.

C&B Panel: Alexandrescu, Meyers, Sutter on Static If, C++11, and Metaprogramming

The first panel from C++ and Beyond 2012 is now available on Channel 9: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming Andrei Alexandrescu, Scott Meyers, Herb Sutter Channel 9 was...

View Article

Image may be NSFW.
Clik here to view.

atomic Weapons: The C++ Memory Model and Modern Hardware

Most of the talks I gave at C++ and Beyond 2012 last summer are already online at Channel 9. Here are two more. This is a two-part talk that covers the C++ memory model, how locks and atomics and...

View Article

Image may be NSFW.
Clik here to view.

Reader Q&A: Acquire/release and sequential consistency

Reader Ernie Cohen emailed me this morning to ask a question about one slide in my atomic<> Weapons talk from last year’s C++ and Beyond: In your atomic weapons talk (part 1) (updated 2/15/2013)...

View Article


Image may be NSFW.
Clik here to view.

Reader Q&A: Book recommendations

Vigen Isayan emailed me today to ask: What book(s) you would recommend for learning 1. design patterns, and 2. concurrency programming. Off the top of my head: 1. For Design Patterns, the greatest is...

View Article

Image may be NSFW.
Clik here to view.

May 12 Webinar on Multicore Parallelism

Next week, I’m giving a webinar with Intel’s James Reinders, and we’ll be available for a live Q&A session with you at the end: Five Years Since Free Lunches: Making Use of Multicore Parallelism...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Associate Mutexes with Data to Prevent Races

This month’s Effective Concurrency column, Associate Mutexes with Data to Prevent Races”, is now live on DDJ’s website. From the article: Come together: Associate mutexes with the data they protect,...

View Article


Image may be NSFW.
Clik here to view.

Webinar Now Available On Demand

The webinar I did with James Reinders three weeks ago is now online for on-demand viewing. The link is the same as before: Five Years Since Free Lunches: Making Use of Multicore Parallelism Reflecting...

View Article


Image may be NSFW.
Clik here to view.

Effective Concurrency Course: June and (Not) October

I forgot to blog about this until now because of focusing on the Effective Concurrency course in Stockholm a few weeks ago, but to answer those who wonder if I’ll be giving it again in North America...

View Article

Image may be NSFW.
Clik here to view.

Effective Concurrency: Prefer Using Active Objects Instead of Naked Threads

This month’s Effective Concurrency column, “Prefer Using Active Objects Instead of Naked Threads,” is now live on DDJ’s website. From the article: … Active objects dramatically improve our ability to...

View Article

Image may be NSFW.
Clik here to view.

Welcome to the Jungle

With so much happening in the computing world, now seemed like the right time to write “Welcome to the Jungle” – a sequel to my earlier “The Free Lunch Is Over” essay. Here’s the introduction:...

View Article

Image may be NSFW.
Clik here to view.

“Welcome to the Jungle” in Kansas City – March 20, 2012

Thanks to Perceptive Software who are bringing me to Kansas City in two weeks to give a free talk on “Welcome to the Jungle.” The talk will be based on my recent essay of the same name (sequel to ”The...

View Article


Image may be NSFW.
Clik here to view.

We want await! A C# talk that’s applicable to C++

A nice talk by Mads Torgersen just went live on Channel 9 about C#’s non-blocking Task<T>.ContinueWith() library feature and await language feature, which are a big hit in C# (and Visual Basic)...

View Article

Image may be NSFW.
Clik here to view.

C++ Libraries: Casablanca

At GoingNative in February, I emphasized the need for more modern and portable C++ libraries, including for things like RESTful web/cloud services, HTTP, JSON, and more. The goal is to find or develop...

View Article


Image may be NSFW.
Clik here to view.

Two Sessions: C++ Concurrency and Parallelism – 2012 State of the Art (and...

It’s time for, not one, but two brand-new, up-to-date talks on the state of the art of concurrency and parallelism in C++. I’m going to put them together especially and only for C++ and Beyond 2012,...

View Article

Image may be NSFW.
Clik here to view.

Facebook Folly – OSS C++ Libraries

I’ve been beating the drum this year (see the last section of the talk) that the biggest problem facing C++ today is the lack of a large set of de jure and de facto standard libraries. My team at...

View Article


Image may be NSFW.
Clik here to view.

Talk Video: Welcome to the Jungle (60 min version + Q&A)

While visiting Facebook earlier this month, I gave a shorter version of my “Welcome to the Jungle” talk, based on the eponymous WttJ article. They made a nice recording and it’s now available online...

View Article

Image may be NSFW.
Clik here to view.

“Strong” and “weak” hardware memory models

In Welcome to the Jungle, I predicted that “weak” hardware memory models will disappear. This is true, and it’s happening before our eyes: x86 has always been considered a “strong” hardware memory...

View Article

Image may be NSFW.
Clik here to view.

Reader Q&A: How to write a CAS loop using std::atomics

The following is not intended to be a complete treatise on atomics, but just an answer to a specific question. A colleague asked: How should one write the following “conditional interlocked” function...

View Article

Image may be NSFW.
Clik here to view.

“256 cores by 2013”?

I just saw a tweet that’s worth commenting on: Almost right, and we have already reached that. I said something similar to the above, but with two important differences: I said hardware “threads,” not...

View Article


Effective Concurrency course & upcoming talks

With the winter ISO meeting behind us, it’s onward into spring conference season! ACCU Conference 2024. On April 17, I’ll be giving a talk on C++’s current and future evolution, where I plan to talk...

View Article

Browsing latest articles
Browse All 68 View Live




Latest Images