Quantcast
Channel: TURBU Tech » Dark Corners
Browsing all 10 articles
Browse latest View live

Inheritance baggage

A couple posts ago, I mentioned that I’ve been working with code generation lately.  This is for a part of the TURBU project.  An RPG relies pretty heavily on scripting, and RPG Maker, the system I...

View Article



RTTI errors and omissions in Delphi XE

I’ve been playing around with DeHL a lot lately.  Embarcadero’s own Alex Ciobanu wrote this library, which provides a lot of useful functionality, including a set of querying methods that, while a bit...

View Article

Little things Delphi gets right

For those who haven’t seen it yet, due to popular demand, the StackOverflow people created a new site called programmers.stackexchange.com, a site for the more subjective questions that StackOverflow...

View Article

TStringList updating pitfalls

What’s wrong with this code? procedure TMyCustomChecklistPopupControl.ClosePopup; var   i: integer; begin   inherited ClosePopup;   FInternalItemStringList.Clear;   for i := 0 to Self.CheckedCount - 1...

View Article

Beware using anonymous methods in loops

Quick, what’s the output of this simple routine? procedure AnonLoop; var   i: integer;   proc: TProc;   ProcList: TList<TProc>; begin   ProcList := TList<TProc>.Create;   for i := 1 to 5 do...

View Article


XE Update 1: you win some, you lose some

In my first look at Delphi XE, I wrote: Oh, and apparently certain aspects of the compiler have slowed down.  Most things will compile about the same speed or even a little faster, but for really large...

View Article

Adding boolean support to Firebird+DBX

Firebird is a great database, but it’s got one really irritating drawback: no native support for the boolean type.  The standard solution to this issue is to create a BOOLEAN domain as a special...

View Article

The next RTTI bottleneck

A few years back, when I posted an analysis of how TValue is very slow, it prompted a lot of response from the community.  Various people ran their own benchmarks, and started working on building or...

View Article


Image may be NSFW.
Clik here to view.

The case of the one-thread race condition

You know what’s even worse than a race condition between two threads in your code? A race condition in one thread in your code, because there are good solutions and debugging techniques for tracking...

View Article


Finally some language-level improvements?

It would not be unfair to characterize the last few Delphi releases as All Mobile, All The Time.  And as cool as that is for mobile developers, those of us still working in VCL land have sort of felt...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images