Skip to content

Comment on First 3D Commercial Web Game Powered By asm.jsparent

Comments

To be fair, if you want ultra-high performance for high quality 3d games, why did you learn javascript? Go away and learn C or C++ ...

This doesn't give anything to web developers. It gives C / C++ developers a way onto the web.

To be fair, if you want ultra-high performance for high quality 3d games, why did you learn javascript?

That's not fair at all, because there are valid answers to that question like "Because I also want my programs to run in the browser."

Until recently, that was a contradictory set of goals. Now it's pretty feasible to achieve both goals using C++. But, not so much with hand-written JS... (Feasible, not arguing theoretical)

Kindasorta. They do contradict if you only write one program. But you could write a high-performance 3D game and a web app and achieve both goals, thus justifying learning both JavaScript and C++.

What makes you think that many web developers don't already know C/C++?

Many developers choose the web because there is their audience, their business, their future. And we know that people don't like to install stuffs, they want to consume a product LIVE.

Well, you can also write asm.js code manually to squeeze out performance, if you need to.

it's faster to learn C and all the toolchain than writing any meaningfull code in asm.js directly, asm.js is not javascript, as strange as it sounds.

I don't mean to write your app in it, I mean using it for optimising tight loops and such, just as C developers occasionally write some functions in asm for performance.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.