D to ASM.js vs D to Dart (VM)
via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 16 13:16:10 PDT 2014
On Friday, 16 May 2014 at 15:54:44 UTC, Wyatt wrote:
> As I understand it, you take a substantial performance hit for
> doing so.
I haven't noticed this much. It is a bit more annoying to debug
on IE. I doubt you get much more than a 40% penalty, but you also
get working closures, this-pointer etc.
> Belay that, if I wanted a compiler centipede, I'd be more
> interested in targeting Haxe: community-driven and it lets me
I like the concept, but it takes a lot of resources to cover
browser bugs. Dart targets current browsers and are tested
against them. It provides polyfills where the browser is lacking
and gives you booleans to test for features. You have to count in
the libraries, IDE, debugger etc.
More information about the Digitalmars-d
mailing list