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

via Digitalmars-d digitalmars-d at puremagic.com
Sat May 17 15:37:16 PDT 2014


On Saturday, 17 May 2014 at 18:25:00 UTC, Nick Sabalausky wrote:
> On 5/16/2014 4:16 PM, "Ola Fosheim Grøstad" 
> <ola.fosheim.grostad+dlang at gmail.com>" wrote:
>> 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,
>
> That's a pretty big penalty for something that's already so 
> slow.

Hm, I think it is roughly 40% slower than Dart, but perhaps 10% 
slower than JS, and sometimes faster than JS (probably because of 
type info).


More information about the Digitalmars-d mailing list