Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>> Depends on what you need. Current asm.js can run Sauerbraten, a 100 KLOC complete game engine with physics, AI, rendering, world geometry system, scripting language - not JS! :) - , level file formats etc etc. It is also enough to run large projects like Python, Bullet, etc. So it already supports quite a lot. In fact almost the entire emscripten test suite runs as asm.js, and that's a lot of C/C++ code.

> well, yes, computers got a lot faster. I just wish the software stop getting slower at a similar or faster pace.

First, asm.js is the opposite of that. As shown in the data in my slides here,

http://kripken.github.com/mloc_emscripten_talk/#/

with asm.js we already (after just a few months of speccing and engineering) get to 2x slower than native - same range as Java and C# - which compared to before is up to 5x faster than normal JS engines. asm.js is making the web faster, not slower.

Second, the context I was replying to is your saying asm.js is missing stuff as a compiler target. That a full-featured game engine can run in asm.js - as well as Python, Bullet, etc. and many other real-world projects - shows it is not missing crucial features as a compiler target IMO.



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

Search: