Hooray for JavaScript!

Discuss whatever you'd like!
Post Reply
User avatar
lamefun
Tyrant
Posts: 371
Joined: Mon Jun 04, 2012 10:29 am UTC

Hooray for JavaScript!

Post by lamefun »

Image

User avatar
Ishq
Project Head
Posts: 1145
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Hooray for JavaScript!

Post by Ishq »

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

User avatar
lamefun
Tyrant
Posts: 371
Joined: Mon Jun 04, 2012 10:29 am UTC

Re: Hooray for JavaScript!

Post by lamefun »

Why? JavaScript is the programming language of the future, the programming language for people, the official programming language of planet Earth!

User avatar
enneract
Programmer
Posts: 28
Joined: Sun Jun 01, 2014 9:21 pm UTC

Re: Hooray for JavaScript!

Post by enneract »

Image

User avatar
lamefun
Tyrant
Posts: 371
Joined: Mon Jun 04, 2012 10:29 am UTC

Re: Hooray for JavaScript!

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

User avatar
enneract
Programmer
Posts: 28
Joined: Sun Jun 01, 2014 9:21 pm UTC

Re: Hooray for JavaScript!

Post 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).

Spiney
Dretch
Posts: 30
Joined: Thu Dec 12, 2013 5:35 pm UTC

Re: Hooray for JavaScript!

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

User avatar
Ishq
Project Head
Posts: 1145
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Hooray for JavaScript!

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

Post Reply