Size comparison: RandFill 1.1.0 vs. 1.2.x-devel

I’m currently migrating RandFill from plain Win32 code to a mix of Win32 and Qt 5 code (mainly the GUI parts, at the moment); and the size comparison between these two versions is sobering.

It’s still a work-in-progress, but since the basic project builds again, I wanted to check the sizes of the old and new versions, just for fun. I’m aware that depending on the Qt runtime libraries will cost in terms of kilobytes, but the direct comparison for the kind of small utility program that “RandFill” is, hits hard.

1.1.0

Pure Win32-API, multi-byte character set, 32-bit build…
Which adds up to 288 KB in total. The actual NSIS setup file comes with 201 KB.

RandFill 1.1.0 size

1.2.x-devel

Win32 and Qt 5, Unicode, …

As a 32-bit installation on Windows Vista this adds up to 12'482 KB in total. The actual NSIS setup file comes with 5'728 KB.

RandFill 1.2.x-devel (x86) size

As a 64-bit Unicode installation on Windows 7 this adds up to a whopping 15'268 KB in total. The actual NSIS setup file comes with 6'827 KB.

RandFill 1.2.x-devel (x64) size

Some remarks:

Well, that’s progress 😉

But seriously, of course for such a small tool the footprint is too big, but Qt makes the (GUI) development much easier for me and if the program grows (or for other, more complex programs), the foundation will almost stay the same (I hope…).