D as a Better C

Kagamin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Sep 7 09:06:15 PDT 2017


On Monday, 28 August 2017 at 22:45:01 UTC, Parke wrote:
> When I write "hello world" in C, the executable is 8,519 bytes.
>  When I write "hello world" in D, the executable is 100 times 
> larger: 865,179 bytes.
>
> Interestingly, "hello world" in C, compiled statically, yields 
> 908,608 bytes.  And "hello world" in assembly yields 368 bytes.

https://forum.dlang.org/post/tmofjecvnqdthvetezfp@forum.dlang.org 
- an example for elf target.


More information about the Digitalmars-d-announce mailing list