The latest Effective Concurrency column, “Choose Concurrency-Friendly Data Structures”, just went live on DDJ’s site, and also appears in the print magazine. From the article:
What is a high-performance data structure? To answer that question, we’re used to applying normal considerations like Big-Oh complexity, and memory overhead, locality, and traversal order. All of those apply to [...]
Archive for June, 2008
Effective Concurrency: Choose Concurrency-Friendly Data Structures
Posted in Concurrency, Software Development on June 27, 2008 | 4 Comments »
Seneca and Shakespeare on Goals and Opportunities
Posted in Friday Thoughts on June 27, 2008 | Leave a Comment »
From the ancient dramatist Seneca the Younger:
“Our plans miscarry because they have no aim. When a man does not know what harbor he is making for, no wind is the right wind.”
And from the Bard, not to be outdone in metaphors of ships and seas:
“There is a tide in the affairs of men,Which, taken at [...]
Talking Lambdas with Bill Gates on BBC
Posted in C++, Friday Thoughts, Software Development on June 20, 2008 | 8 Comments »
[6/25: Added YouTube availability and notes.]
A few weeks ago, the BBC was in town to tape a special interview/documentary on Bill Gates. As part of the footage they got, there’s a Bill-in-a-technical-review-meeting shot that includes yours truly at a whiteboard presenting an overview-plus-drilldown on C++0x lambda functions. It was a good review; Bill’s a sharp [...]
Type Inference vs. Static/Dynamic Typing
Posted in C++, Software Development on June 20, 2008 | 26 Comments »
Jeff Atwood just wrote a nice piece on why type inference is convenient, using a C# sample:
I was absolutely thrilled to be able to refactor this code:
StringBuilder sb = new StringBuilder(256);
UTF8Encoding e = new UTF8Encoding();
MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
Into this:
var sb = new StringBuilder(256);
var e = new UTF8Encoding();
var md5 = new MD5CryptoServiceProvider();
It’s not dynamic typing, [...]
Stroustrup & Sutter on C++: The Interviews
Posted in C++, Concurrency on June 10, 2008 | 3 Comments »
While Bjarne and I were at SD for S&S, we took time out to do an interview together with Ted Neward for InformIT. I just got word that it went live… here are the links.
On the OnSoftware – Video (RSS):
OnSoftware – Bjarne Stroustrup & Herb Sutter on the Future of C++ – Part 1
OnSoftware – [...]
Memory Model talk at Gamefest 2008
Posted in C++, Concurrency on June 10, 2008 | Leave a Comment »
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 CodeJuly 22-23, 2008Gamefest 2008Seattle, 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 [...]