D vs. C#

Anders F Björklund afb at algonet.se
Mon Oct 22 03:05:01 PDT 2007


Walter Bright wrote:

>> It's still a VM advantage.  It helps the model where there are many
>> developers who only distribute binaries.  If they are distributing for a
>> VM, they only have to distribute a single binary.  Otherwise, they still
>> would have to recompile for every possible target.
> 
> With a portable language, it is not necessary to distribute binaries. 
> You can distribute the *source* code! Then, the user can just recompile 
> it on the fly (this can be automated so the user never has to actually 
> invoke the compiler). Just like how Javascript is distributed as source.

Too bad that D isn't such a language then ? One "version" for each 
platform, and no autoconf or other helpers to cope with differences...

As much as I do like D, the C language is *much* more portable - at
least between the different GNU platforms (i.e. including MinGW too).

--anders



More information about the Digitalmars-d mailing list