Visit site The Oracle at Delphi
November 2008
0
votes
That which is old is new again
The Oracle at Delphi
– Last week at PDC, I was able to make it to the repeat session of Anders Heijlsberg's talk on the future of C#. A talk by Anders is always interesting and enjoyable. He showed some really interesting things; but the most intriguing thing was the new "dynamic" keyword. Anders demonstrated ...
0
votes
PDC - In a few bullet points
The Oracle at Delphi
– Last week I was at PDC 2008 in Los Angeles. It really felt like a huge BorCon. The "geek quotient" was very high :-). There were several high-level themes that permeated the whole conference: Windows Azure - "The Cloud." Cloud computing with high-level tooling and initial support for managed ...
October 2008
0
votes
At PDC
The Oracle at Delphi
– Just a quick little note that I'm at the PDC conference. I'll be at the multicore/concurrent programming pre-con session. If that's where you'll be as well, be sure to say hi.
0
votes
Value Capture vs. Variable Capture
The Oracle at Delphi
– Anonymous methods (aka. Closures) capture the variables from the outer scope that are referenced within the body of the method itself. This is the intended behavior as it serves to extend the lifetime of the variable to match that of the anonymous method itself. This should not be confused with ...
0
votes
CodeRage III - PDC - Delphi Programming
The Oracle at Delphi
– Be sure to mark your calendar for the upcoming CodeRage virtual conference. Apparently the abstract submissions are coming in fast and furious, so if you would like to present, make sure you contact Anders Ohlsson. There are several folks in the Delphi community planning on taking advantage of the ...
0
votes
Some newsworthy items
The Oracle at Delphi
– In case you've missed it, while at the SDN conference in the Netherlands, Nick Hodges has dropped some information about Delphi Prism, the next release of Delphi on the .NET platform hosted inside the Visual Studio Shell. Dr. Bob, Marco Cantu and Tim Anderson, have all commented on it. ...
September 2008
0
votes
More A Sink Kronos programming
The Oracle at Delphi
– Today, we'll look at the implementation behind some of the code presented in this post. Let's start by looking at the implementation of the IAsyncResult interface. Because there are two pairs of BeginInvoke/EndInvoke, one that just calls a procedure and one that is designed to call a function, we'll ...
0
votes
A Sink Programming.
The Oracle at Delphi
– In this post I demonstrated how you can use an Anonymous Method to "synchronize" a background thread with the main UI thread. However there are times where you don't want to block execution of the thread but still want to have something happen in the main UI thread, asynchronously. For ...
0
votes
News Flash! Someone has already invented the wheel!
The Oracle at Delphi
– I'm sure most, if not all, of you have heard the phrase "Why reinvent the wheel?" Another one I'm very fond of is "Standing on the shoulders of giants." The latter was often heard coming from Distinguished Engineer, Anders Hejlsberg during his tenure at Borland. So, why reinvent the wheel ...
0
votes
Another "MacGyver" moment
The Oracle at Delphi
– Or, "More fun with Generics and Anonymous methods". I'll just leave it up to you whether or not these utility functions are useful, but here they are:type Obj = class class procedure Lock(O: TObject; Proc: TProc); static; class procedure Using(O: T; ...
0
votes
A "Nullable" Post
The Oracle at Delphi
– Solving problems can be fun and challenging. What is really challenging is solving a problem using only the tools at hand. During the development of Delphi 2009, there were several language features that were dropped in favor of generics and anonymous methods. One such feature was what we called ...
0
votes
Retrofitting a classic
The Oracle at Delphi
– When Delphi 2 was released targeting the 32bit Windows API there were some new-to-Delphi features of the operating system that opened up some new possibilities; Pre-emptive multi-tasking and multi-threading. Coupled with this "new" concept of a "thread," Delphi introduced the new TThread class that ...
0
votes
Multicast Events - the finale
The Oracle at Delphi
– In my previous two posts I presented a technique using the new generics language feature of Delphi 2009 to create a typesafe multicast event. In the previous post, I showed how you can create a TMulticastEvent instance and assign it to an event handler for an existing event on a ...
August 2008
0
votes
Multicast Events - the cleanup
The Oracle at Delphi
– In my last post, I introduced a multicast event that uses generics to address the problem of needing to manually declare and implement a new multicaster for each unique event type. If you remember, I referred to some other posts that presented a technique for doing automatic cleanup of both ...
0
votes
Multicast events using generics
The Oracle at Delphi
– Ever since before Delphi 1, the (then Delphi only) RAD Studio IDE has been full of home-grown multicast event class types. I usually refer to these as an "event bus." This is from my hardware days when I designed microcontroller based security/access control equipment. A CPU has an "address bus" ...




