QUOTE(XaeL @ Jun 9 2015, 01:53 AM)

QUOTE(myndzi @ Jun 8 2015, 08:25 PM)

Javascript
Does javascript have an efficient/fast graphics/input library? Just wondering since we want maximal performance.
I'm thinking of writing a simple one in Unity3D. Wouldn't be too hard.
Also, seems like a lot of libraries die at > 1000fps lol. (just had quick look at unity)
JavaScript (in the browser) pretty much has a 60fps cap (in the browser). However, it is an event based language. Depending on the platform you can get microsecond (in browser), to nanosecond (node.js) accuracy, but typically you have millisecond accuracy.
For the graphics, JavaScript (browser and nw.js) has the canvas element which has both 3d and 2d modes which can be GPU accelerated. The new Unreal engine was ported to JavaScript and works on this tech. If you want the best performance in JS you want to build a game in C++ and compile it with something like emscripten into javascript (which unity 5 can do).
As for input libraries, there's nothing that I've seen out there that is any good. I'm currently working on one, but for a frame based input game. I've recently been debating the idea of event based tetris in my head again, though I still don't have a good idea on how to implement it to my standards.