New opportunities for D => ASM.js

via Digitalmars-d digitalmars-d at puremagic.com
Fri May 30 08:14:53 PDT 2014


On Friday, 30 May 2014 at 14:49:09 UTC, Marco Leise wrote:
> Besides that JavaScript is single-threaded. That could be a
> bit of a show stopper.

I think the most promising idea is to support PNACL+JS. If you 
can write a whole app in only one language and keep the GC high 
level stuff in javascript and the low level heap stuff in LLVM 
then you have something great going.

Modern browsers are getting support for running multiple isolates 
in parallell in javascript.

But phobos isn't suited for this stuff.

Also, compiling to Dart is a bad idea. dart2js is going to drop 
support for IE9 from versjon 1.6


More information about the Digitalmars-d mailing list