Re:First 3D Commercial Web Game Powered By asm.js
by azakai on Thursday December 12, 2013 @11:42AM
(#6895372)
You can also mix the two, write typical JS and use a high-performance library from JS for something specific, like physics
Re:First 3D Commercial Web Game Powered By asm.js
by timje1 on Thursday December 12, 2013 @11:54AM
(#6895438)
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.
Re:First 3D Commercial Web Game Powered By asm.js
by chc on Thursday December 12, 2013 @01:05PM
(#6895930)
> 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."
Re:First 3D Commercial Web Game Powered By asm.js
by corysama on Thursday December 12, 2013 @04:34PM
(#6897439)
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)
Re:First 3D Commercial Web Game Powered By asm.js
by chc on Thursday December 12, 2013 @05:22PM
(#6897697)
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++.
Re:First 3D Commercial Web Game Powered By asm.js
by liviu on Thursday December 12, 2013 @01:47PM
(#6896217)
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.
Re:First 3D Commercial Web Game Powered By asm.js
by TazeTSchnitzel on Thursday December 12, 2013 @12:10PM
(#6895548)
Well, you can also write asm.js code manually to squeeze out performance, if you need to.
Re:First 3D Commercial Web Game Powered By asm.js
by camus2 on Thursday December 12, 2013 @04:01PM
(#6897235)
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.
Re:First 3D Commercial Web Game Powered By asm.js
by TazeTSchnitzel on Thursday December 12, 2013 @04:07PM
(#6897285)
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.
Re:First 3D Commercial Web Game Powered By asm.js
by camus2 on Thursday December 12, 2013 @11:52AM
(#6895433)
> Only if they want ultra-high performance, for writing games and suchlike.
CUSTOMERS want ultra high performances, especially on mobile. Therefore businesses will have to deliver these performances.
Trust me, in a few years , getting a good client-side gig will mean knowing C/C++ .
The limitation today is the size of the "js" code produced, which is way too heavy.
Otherwise they can stick to javascript.
(And, of course, anything else that compiles to javascript)