Does JS sufficient performance for writing games?

If really has, whether it would be less in comparison with other languages, such as JAVA?
June 10th 19 at 14:54
3 answers
June 10th 19 at 14:56
Solution
Many write that in the first place it depends on the "owner")) of Course it is, but another question, as I understand it )))

In Java, the strong typing, so compared to JS in some places it will be faster since you will not spend time converting types, but at the same time in JS at the moment of interpretation, some things can be optimized.

Another bad thing that prevents the stable operation of the games is the garbage collector. In the same Java it is, in any such language. For him at any possible moment he can on a few milliseconds to take a process that will greatly affect the render time of the frame

If first want performance: write C/C++ and manually manage memory, but it is much more difficult.

Another issue is the platform under which it would work (ie can be either native or Web as in browser, and using frameworks for writing mobile/desktop). In all these cases, and even for the Web, you can write in C++ (see emscripten)

Unambiguously it is impossible to give a short answer to this question, as it does not specify the detail of the requirements of the game (maybe it's just a day, or full 3D), as well as the devices which it must work. And speaking of 2017, that the computing power of even a budget smartphone is enough for almost all in JS and no brakes
thank you! - Claude28 commented on June 10th 19 at 14:59
June 10th 19 at 14:58
He js Yes. But you should understand that it is important not to stretch also to the performance of the video card.
https://github.com/lo-th/Oimo.js/
https://threejs.org/
www.pixijs.com
June 10th 19 at 15:00
there is such a famo.us js framework, the development of which raised $ 30 million:
deprecated.famous.org
there is a video on YouTube "famo.us js"
https://famous.co now just the Studio that makes websites
And JS isn't designed for 3D graphics? - Claude28 commented on June 10th 19 at 15:03
what kind of response you want to get to your question? :)) - Claude28 commented on June 10th 19 at 15:06
positive - Pedro65 commented on June 10th 19 at 15:09
that is your own conclusions you are not able to do :) - Claude28 commented on June 10th 19 at 15:12

Find more questions by tags JavaScript