On Sunday, 31 March 2013 at 12:56:46 UTC, bearophile wrote:
Masahiro Nakagawa:

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 :)


Masahiro

Very good.

Is is visible the resulting javascript able to run on the browswer?

Yes. The window which has "Nightly" menu in top picture is his browser.

This is a part translated with Google Translate:

Problem of the time being, where is moss Emscripten writing class as I wrote at the beginning. The moss just write an empty class that does not contain anything that I downright difficult. I guess the difference is the treatment of class in Clang and LDC.<


What's the problem with classes and LDC?

I'm not sure.

He tried to use D's class but translating LLVM to JavaScript via Emscripten failed. He guesses internal class representation is different between LDC and Clang.

Reply via email to