Hacker News new | ask | show | jobs
by chc 4566 days ago
> 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."

1 comments

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++.