back

by itvision·3y ago·view on hn ↗
Delphi produced quite bloated code.

I remember a default Delphi application with 0 lines of actual code showing nothing but an empty screen compiled into something like 300KB circa 2000 all thanks to VCL while its pure C Win32 counterpart compiled into a few kilobytes.

3 comments
300kB. How goalposts moved since then.
LMAO.

Yeah, an average HTML page nowadays without graphics and built-in fonts is easily above 500KB considering all the embedded JS and CSS.

If you use an alternative set of libs, such as KOL&MCK, you get fully featured GUI programs in tens of KB range (about 50KB for an empty window with a button, IIRC) while having all the benefits of the coolest RAD which Delphi/Lazarus provide.

...And then you UPX it to shave some more bits. ;)

IIRC it included the runtime libraries. In the case of VB you had to install them in addition to your software (and I think they were bigger).

Today you can download the .NET runtime quickly and semi automatically, but back in the day you had to make sure the user had them, so you included them in the bundle anyways...