Experiments with emscripten and D

nazriel spam at dzfl.pl
Tue Aug 20 16:23:56 PDT 2013


On Thursday, 15 August 2013 at 20:21:46 UTC, Piotr Szturmaj wrote:
> This is SDL and std.algorithm code translated to JavaScript 
> with emscripten. I've used the latest git versions of LDC and 
> emscripten (the latter needed some modifications).
>
> https://gist.github.com/pszturmaj/6244260
> https://gist.github.com/pszturmaj/6244266
>
> I couldn't manage to post it as single gist, and it seems 
> there's a bug in the sdl.html gist (it looks empty). Just click 
> Download Gist or '< >' icon (view raw) and save it as sdl.html.
>
> Then open sdl.html in the web browser. It should print sorted 
> and mapped array contents and run simple graphics demo.
>
> I'm starting to work on this to fix the rest of the druntime so 
> it can work under JS VM. Any help with this will be appreciated 
> :-)

This is very interesting subject.

I bet lots of people will want to help.
Give a shout when you setup repository etc ;)


More information about the Digitalmars-d mailing list