Visit site The Oracle at Delphi
April 2010
0
votes
“Talk Amongst Yourselves” #3
The Oracle at Delphi
– So far we’ve had “Testing synchronization primitives” and “Writing a ‘self-monitoring’ thread-pool.” Let’s build on those topics, and discuss what to do with exceptions that occur within a scheduled work item within a thread pool. My view is that exceptions should be caught and held for later ...
March 2010
0
votes
Another installment of “Talk Amongst Yourselves”
The Oracle at Delphi
– Let’s start thinking about thread pools. How do you manage a general purpose thread pool in the face of no-so-well-written-code? For instance, a task dispatched into the thread pool never returns, effectively locking that thread from ever being recycled. How do you monitor this? How long do you wait ...
0
votes
This is the last day…
The Oracle at Delphi
– In this office. I’ve been in the same physical office for nearly 15 years. After years of accumulation, it now looks positively barren. Beginning next Monday, March 29th, 2010, I’ll be in a new building, new location, and new office. The good thing is that the new place is a mere stone’s throw from ...
1
vote
Simple question… very hard answer… Talk amongst yourselves…
The Oracle at Delphi
– I’m going to try a completely different approach to this post. I’ll post a question and simply let the discussion ensue. I would even encourage the discussion to spill over to the public newsgroups/forums. Question for today is: How can you effectively unit-test synchronization primitives for ...
February 2010
3
votes
A Happy Accident and a Silly Accident
The Oracle at Delphi
– By now you’re all aware that we’re getting ready to move to a new building here in Scotts Valley. This process is giving us a chance to clean out our offices and during all these archeological expeditions, some lost artifacts are being (re)discovered. Note the following: ...
0
votes
What. The. Heck.
The Oracle at Delphi
– Is. This? I simply cannot explain this. At. All. This was on a bulletin/white-board in the break area. I’d never noticed it because it was covered with photos from various sign-off (final authorization to release the product) celebrations. Lots of photos of both past and present co-workers, many ...
3
votes
A case when FreeAndNil is your enemy
The Oracle at Delphi
– It seems that my previous post about FreeAndNil sparked a little controversy. Some of you jumped right on board and flat agreed with my assertion. Others took a very defensive approach. Still others, kept an “arms-length” view. Actually, the whole discussion in the comments was very ...
0
votes
Oh, the things you find…
The Oracle at Delphi
– When you’re cleaning out your office. Share This | Email this page to a friend
10
votes
A case against FreeAndNil
The Oracle at Delphi
– I really like the whole idea behind Stackoverflow. I regularly read and contribute where I can. However, I’ve seen a somewhat disturbing trend among a lot of the answers for Delphi related questions. Many questions ask (to the effect) “why does this destructor crash when I call it?” Invariably, ...
January 2010
1
vote
There may be a silver lining after all
The Oracle at Delphi
– After having to deal with all the stack alignment issues surrounding our move to target the Mac OS, I’d started to fear that I would get more and more jaded cynical about the idiosyncrasies of this new (to many of us) OS. I was pleased to hear from Eli that ...
9
votes
Requiem for the {$STRINGCHECKS xx} directive…
The Oracle at Delphi
– It’s time. It’s time to say goodbye to the extra behind-the-scenes codegen and overhead that was brought to us during the Ansi->Unicode transition. We’ve shipped two versions with this directive on by default. The Ansi world is now behind us. It’s only real purpose in life was to assist C++Builder ...
5
votes
Divided and Confused
The Oracle at Delphi
– Odd discovery of the day. Execute the following on a system running a 32-bit version of Windows (NOT a Win64 system!): program Project1; {$APPTYPE CONSOLE} uses SysUtils; begin try MSecsToTimeStamp(-1); except on E: Exception do Writeln(E.ClassName, ': ', E.Message); ...
9
votes
Mac OS Stack alignment – What you may need to know
The Oracle at Delphi
– While I let my little tirade continue to simmer, I figured many folks’ next question will be “Ok, so there may be something here that affects me. What do I need to do?” Let’s first qualify who this will affect. If you fall into the following categories, then read on: ...
8
votes
It’s my stack frame, I don’t care about your stack frame!
The Oracle at Delphi
– I’m going to start off the new year with a rant, or to put it better, a tirade. When targeting a new platform, OS, or architecture, there will always be gotchas and unforeseen idiosyncrasies about that platform that you now have to account for. Sometimes they are minor little nits ...
October 2009
5
votes
Delphi check-in log entries of the day:
The Oracle at Delphi
– 25232 trunk/com/ scanner.c Thu Oct 8 20:41:10 2009 UTC ytagawa Log:[dcc64] (scanner.c) Don't define ASSEMBLER for x64 for awhile. 25224 trunk/com/ codegen.c Thu Oct 8 12:35:00 2009 UTC eboling Log:Refactoring in PassParams to support changes to stack alignment code. Changed the logic for ...



