hello world in D

Paulo Pinto pjmlp at progtools.org
Sat Jun 1 03:28:57 PDT 2013


Am 31.05.2013 19:19, schrieb deadalnix:
> On Friday, 31 May 2013 at 16:31:42 UTC, Regan Heath wrote:
>> On Fri, 31 May 2013 16:58:11 +0100, Craig Dillabaugh
>> <cdillaba at cg.scs.carleton.ca> wrote:
>>
>>>>
>>>> Under 40 kilobytes! If you do the bare minimum you can get down to
>>>> about 1 KB, but at that point, you're actually writing in mostly
>>>> (inline) assembly rather than D. The code in the link though
>>>> supports a majority (though certainly not all) of D's features.
>>>>
>>>>> Agreed 100%.  But newcomers don't often get that far down the chain
>>>>> of thought, they just see a huge exe and wonder WTF! :)
>>>>
>>>> Indeed.
>>>
>>> Do you really think that is such a big issue?
>>
>> Not really an issue, no.  But newcomers keep creating threads like
>> this one time and again and who knows how many have been turned away
>> without finding out the whys and wherefores.
>>
>> R
>
> A hello wold in java, statically compiled, was 52Mb last time I
> tried.

It is the same thing in the Go mailing list, new developers just aren't
used to static binaries. Additionally when they look at the size of 
modern languages, which tend to have JIT based canonical 
implementations, the size of the already installed runtime tends to be 
forgotten.

--
Paulo


More information about the Digitalmars-d mailing list