dmd codegen improvements

via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 4 10:39:49 PDT 2015


On Friday, 4 September 2015 at 17:05:41 UTC, deadalnix wrote:
> Statement do not makes arguements. pNaCl is portable, take only 
> a 20% hit compared to pure native and is compact to send 
> through the wire.

You think pnacl is compact and compresses well? That's an unusual 
position. Both asm.js and pnacl fail to be ideal for various 
reasons. One is that you loose too much information if you go 
from a high level language to enable full target optimization. 
The "p" for portable is questionable.

A BIG advantage with asm.js is that you can generate and compile 
it from code running in the browser, so you can choose your own 
transport format, run JITs in the browser etc. You could 
essentially create a (simple) D development environment in the 
browser.

Anyway, what we think does not matter. What matters is what is 
supported by the least common denominator, which for many 
developers happen to be browsers on weak mobile ARM devices. 
Apple has no interest in undermining their Apps market, so… who 
knows where this will go. Let's hope they don't sabotage it.



More information about the Digitalmars-d mailing list