D to ASM.js vs D to Dart (VM)

via Digitalmars-d digitalmars-d at puremagic.com
Thu May 15 14:10:27 PDT 2014


On Thursday, 15 May 2014 at 21:05:12 UTC, Etienne wrote:
> On 2014-05-15 4:58 PM, "Ola Fosheim Grøstad" 
> <ola.fosheim.grostad+dlang at gmail.com>" wrote:
> The Phobos and druntime would most likely be type-resolved and 
> inlined when converted to Dart code. It's mostly to stay in D. 
> This compiler wouldn't really generate Dart code for... you 
> know.. being "used". It would mostly allow to use the power of 
> templates/alias/ctfe/contracts/auto/etc for browser-executed 
> code (going through Dart is a side-effect)

Ok, as a Dart developer I would never use this:
1a. The files will be too big.
1b. Compiling from D to Dart to JS will lead to insanely big 
files.
2. The dart IDE has browser integrated debugging.
3. What is the benefit, it will be wiped out once PNaCl is 
available as a D backend?



More information about the Digitalmars-d mailing list