Page 1 of 1

Hooray for JavaScript!

Posted: Fri Aug 08, 2014 6:47 am UTC
by lamefun

Image


Re: Hooray for JavaScript!

Posted: Fri Aug 08, 2014 6:25 pm UTC
by Ishq

We're probably going to be switching to lua because librocket just added support for it.


Re: Hooray for JavaScript!

Posted: Sun Aug 10, 2014 2:31 am UTC
by lamefun

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!

Posted: Sun Aug 10, 2014 10:58 am UTC
by enneract

Image


Re: Hooray for JavaScript!

Posted: Sun Aug 10, 2014 3:16 pm UTC
by lamefun

Image

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!

Posted: Sun Aug 10, 2014 4:28 pm UTC
by enneract
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!

Posted: Wed Aug 13, 2014 2:03 pm UTC
by Spiney
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!

Posted: Wed Aug 13, 2014 4:38 pm UTC
by Ishq

The main use of scripting will be for the UI. Also, potentially in the future for more customizable maps and a tutorial mode.