D => asm.js for the web?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Mar 31 10:49:59 PDT 2013


On Sun, 31 Mar 2013 14:32:14 +0200
"Masahiro Nakagawa" <repeatedly at gmail.com> wrote:

> ABA-san tried LDC+Emscripten+asm.js.
> 
> http://d.hatena.ne.jp/ABA/20130331#p1 (in japanese)
> 
> LDC has some limitations but this SDL code works :)
> 

Wow, that's awesome. D SDL running as client-side web.

I hope the class issues get fixed because then I may never have any
need to use Haxe again.

A few years ago, back when Flash was still relevant, I did something
that required Flash and PHP, so I used Haxe. It was far better than
using Flash/PHP directly, but it's still nowhere near as nice as D. Now
I'm finally doing D (with Vibe.d) for server-side stuff, so if I ever
need to do a Flash-like thing again (which I'd obviously do as HTML5 at
this point), then I'd love to do it with LDC+Emscripten+asm.js like
ABA-san is. Obviously wouldn't have the speed or low-level benefits of
D, but it would be far more pleasant.



More information about the Digitalmars-d mailing list