Watch, Follow, &
Connect with Us

The Oracle at Delphi













Older Stuff



Archive for October, 2007

I cut and I cut and it was still too short!

In keeping with the notion that I’m highly fallible and flawed human like so many others I just have to relay an important epiphany I had while playing some more with thread pools, parallelization of loops, and using a different thread pool technique. Actually, more than a week ago I’d planned on writing up [...]

Posted by Allen Bauer on October 31st, 2007 under CodeGear, Delphi, Parallel Programming | 10 Comments »

You want to do what?

I always get a kick out of reading Raymond Chen’s blog, The Old New Thing.  So many of his posts hit home way too often :).  One of his latest posts simply highlights one thing I always try to do and get folks to do when they ask for support or help with such-and-such.  I’ve [...]

Posted by Allen Bauer on October 30th, 2007 under CodeGear | 2 Comments »

Enumerators, Inlining, methods on records, for-in and deadlocks

The ever-present, over-achieving Hallvard Vassbotn has just posted an excellent analysis of how the Delphi compiler generates code for the "for-in" statement. He also presented many suggestions on how to make this as efficient as possible.  I will be taking his suggestions back to the team to get folded into the next release.  You should [...]

Posted by Allen Bauer on October 17th, 2007 under CodeGear | 3 Comments »

Spot the deadlock

This is the final full day I’ll be here in Kona, Hawaii for the ANSI/ISO C++ standards meeting and they’re just going through some of the minor issues, or actually "bugs" in the standard, I’ve been playing with the thread pool class from my post about thread pools. I included a small project to demonstrate [...]

Posted by Allen Bauer on October 5th, 2007 under CodeGear, Delphi, Parallel Programming | 14 Comments »

ANSI/ISO C++ meeting Day 4

Shameless namedrop… sitting across the table from Herb Sutter(from MS) and Bjarne Stroustrup (from AT&T labs) in the Evolution/Concurrency Working group discussing http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2407.html.  Just to make it clear to the Delphi and C++Builder folks… we’ve had this for many years in the form of packages.  It’s good that the standards bodies are getting on board [...]

Posted by Allen Bauer on October 4th, 2007 under CodeGear | 4 Comments »

ANSI/ISO C++ meeting Day 3

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2320.html - Went over this paper some more and rehashed the issue surrounding whether or not the thread object should detach or join the underlying OS thread.  Join and detach are POSIX thread notions and roughly correspond to Windows WaitForSingleObject(<thread handle>) and CloseHandle(<thread handle>).  Looks like their going with the detach rather than the join, [...]

Posted by Allen Bauer on October 3rd, 2007 under CodeGear | 1 Comment »

ANSI/ISO C++ meeting Day 2

OK, it is actually getting somewhat interesting.  Aside from the myriad of straw-polls, and various other procedural items, the technical discussions have some interesting bits.  We’re just finished discussing atomics per this paper: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2393.html.  It was actually moderated by one of the authors, Lawrence.
For the Delphi folks on the x86 architecture, it is generally assumed [...]

Posted by Allen Bauer on October 2nd, 2007 under CodeGear | 1 Comment »

ANSI/ISO C++ meeting Day 1

Two words.  Boring.  Tedious.  This is simply where previous meeting minutes are approved by the voting members, the setting of the agenda for the week and discussions of specific mechanical meetings issues.  This includes when we’re going to get WiFi in the meeting rooms.  I don’t particularly care since I’m using my cell phone as [...]

Posted by Allen Bauer on October 1st, 2007 under CodeGear | 1 Comment »

Server Response from: BLOGS1