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

via Digitalmars-d digitalmars-d at puremagic.com
Thu May 15 13:58:01 PDT 2014


On Thursday, 15 May 2014 at 20:34:31 UTC, Etienne wrote:
> My position has changed, and I now think D would be in a better 
> position if it ran in the Dart VM. In other words, ASM.js has 
> become the Dart language - the solution is to introduce a D to 
> Dart compiler[2].

Chrome runs pnacl which is a lot more efficient than Dart, but a 
D to Dart converter would be interesting for sharing code.

> Of course, the D=>Dart compiler would need to handle druntime 
> and phobos as well for complete integration.

That sounds like a bad idea. No sane person would write Dart code 
in D. The main benfit would be in sharing datastructures/RPC-like 
functionality.



More information about the Digitalmars-d mailing list