438-byte "Hello, world" Win32 EXE in D

Dominikus Dittes Scherkl via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Sep 7 22:51:07 PDT 2014


On Sunday, 7 September 2014 at 21:03:17 UTC, Vladimir Panteleev 
wrote:
> I've picked up an older project for using D on barebones Win32 
> as a "better C".
>
> Thanks to recent advances in DMD (-betterC and -m32mscoff), I 
> could get a "Hello, world" program on Win32 down to just 438 
> bytes when compiled. This is without assembly, linker scripts, 
> custom Phobos/Druntime, or manual post-build tweaks.

YES.

That's what I expect to be possible with a systems programming 
language!

Very pleasing to see that it is also possible with D, so D seems 
to be really a systems programming language :-)


More information about the Digitalmars-d-announce mailing list