Hooray for JavaScript!
Re: Hooray for JavaScript!
We're probably going to be switching to lua because librocket just added support for it.
Re: Hooray for JavaScript!
Why? JavaScript is the programming language of the future, the programming language for people, the official programming language of planet Earth!
Re: Hooray for JavaScript!
Depends on how you measure:
http://trendyskills.com/
https://twitter.com/dberkholz/status/395922559151009792
http://www.itworld.com/cloud-computing/ ... g-language
But, really, it doesn't matter. That JavaScritpt is the official programming language of planet Earth should be obvious to everyone.
JavaScript is going to be everywhere:
Web 3.0
Qt/KDE 5
GNOME 3
Windows 8
Firefox OS
The Global Government has prescribed JavaScript for us all. There's no going back.
Re: Hooray for JavaScript!
lamefun wrote:Depends on how you measure
lamefun wrote:That JavaScritpt is the official programming language of planet Earth should be obvious to everyone.
If popularity measurements are unreliable then why would JavaScript (or any other language) be the official programming language of Earth?
lamefun wrote:JavaScript is going to be everywhere
I doubt that JS is fit for any serious work (e.g. games). This benchmark states that JS (V8) is 3x-6x slower than C (gcc).
Re: Hooray for JavaScript!
enneract wrote:lamefun wrote:Depends on how you measure
I doubt that JS is fit for any serious work (e.g. games). This benchmark states that JS (V8) is 3x-6x slower than C (gcc).
Plenty of Unity games use JS afaik. Isn't the reason for scripting more about trading performance for flexibility?
3 to 6 times slower doesn't sound too bad for a scripting language, since average game logic generally isn't the bottleneck?
Most engines that do gameplay scripting tend to move performance critical game code into C anyway.
Not to say JS is good/bad, or scripting in general is good/bad.
Re: Hooray for JavaScript!
The main use of scripting will be for the UI. Also, potentially in the future for more customizable maps and a tutorial mode.