Hooray for JavaScript!

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

Hooray for JavaScript!

Postby lamefun » Fri Aug 08, 2014 6:47 am UTC

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

Re: Hooray for JavaScript!

Postby Ishq » Fri Aug 08, 2014 6:25 pm UTC

We're probably going to be switching to lua because librocket just added support for it.
User avatar
lamefun
Tyrant
Posts: 369
Joined: Mon Jun 04, 2012 10:29 am UTC

Re: Hooray for JavaScript!

Postby lamefun » Sun Aug 10, 2014 2:31 am UTC

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!

Postby enneract » Sun Aug 10, 2014 10:58 am UTC

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

Re: Hooray for JavaScript!

Postby lamefun » Sun Aug 10, 2014 3:16 pm UTC

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!

Postby enneract » Sun Aug 10, 2014 4:28 pm UTC

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!

Postby Spiney » Wed Aug 13, 2014 2:03 pm UTC

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: 1138
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Hooray for JavaScript!

Postby Ishq » Wed Aug 13, 2014 4:38 pm UTC

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

Return to “Off-topic”

Who is online

Users browsing this forum: No registered users and 3 guests