Hacker News new | past | comments | ask | show | jobs | submit login

>I really don't think that asm.js is necessary to bring 3d gaming to the web.

It helps ... a lot. WebGL gives you GPU access which will largely drive your graphics engine, but there's still tons of places where CPU performance matters (e.g. physics and AI). Asm.js and WebGL are complementary.

>I'm on the web to take advantage of things like JavaScript and CoffeeScript.

And asm.js prevents this how? If you're coding in CoffeeScript, you already have a necessary compile step to do. Are you telling me you wouldn't want the CoffeeScript compiler to give you extra performance by including asm.js heuristics?




Yeah there are tons of places that CPU performance matters, but my point is that Mozilla and WebKit's engines are doing a good job of native compilation already.

If you could make a CoffeeScript compiler that would output asm.js, then great. But I'm not sure that's possible. I think that you either have to go from C/C++ code through the emscripten or right directly using the asm.js stuff in JavaScript.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: