News for hackers. Stuff that matters.
Re:Running a D game in the browser by themihai on Thursday August 04, 2016 @02:28PM (#12227498)
>An obvious enhancement would be to use the WebAssembly backend of the upstream LLVM, and then using Emscripten+Binaryen to convert the generated WebAssembly to asm.js.

why would you convert WebAssembly to asm.js?

Re:Running a D game in the browser by jeremiep on Thursday August 04, 2016 @02:52PM (#12227644)
For browsers not yet supporting WebAssembly?
Re:Running a D game in the browser by themihai on Thursday August 04, 2016 @04:56PM (#12228419)
All the browsers supporting WebAssembly are evergreen browsers. I don't think asm.js is worth supporting once WebAssembly format stabilises(i.e. by the end of this year).
Re:Running a D game in the browser by Ace17 on Friday August 05, 2016 @01:01AM (#12230154)
Actually, I wanted to benefit from the Emscripten execution environment, i.e reimplementation of APIs such as the SDL. I'm not sure there's such a thing for WebAssembly yet.