Why learn another language?

For discussions about game development that does not fit in any of the other topics.
Post Reply
User avatar
Script47
Posts: 147
Joined: Thu Nov 21, 2013 6:11 pm

Why learn another language?

Post by Script47 »

Well this may seem like a weird thread but I was considering this and I wanted some insight off some of you. I packaged up an HTML, CSS and JavaScript application which I made for the web as an EXE file format (I've ran it and it works fine). Now my question is, why learn languages like C++ or Java for game development when you can use these? I would compare CubicVerse (made by A_B). Lets say he wished to make it for PC (and executable file), why not just package it all up like I did? Why rewrite it all in another language? Not saying A_B is doing this, just giving an example as his game which is impressive, big and uses the above languages came to my head. I get that you wouldn't be using the full PC's available hardware but in terms off 3D you have loads of library's one can use. So why learn those hard and sometimes annoying languages like C++ or Java?
Last edited by Script47 on Sat Jul 19, 2014 12:51 pm, edited 1 time in total.
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: Why learn another language?

Post by a_bertrand »

Java besides for android development is quite certainly a bad choice for game development. Anyhow you would pick C++ to be as fast as possible. Also the big game engines are all written in C++.

HTML and js while being much better lately they are far far away from offering what you would want. Sure you can make games with it. But that doesn't mean it's a comfortable solution.
Creator of Dot World Maker
Mad programmer and annoying composer
User avatar
vitinho444
Posts: 2819
Joined: Mon Mar 21, 2011 4:54 pm

Re: Why learn another language?

Post by vitinho444 »

Yeah well HTML is made for web for a reason ( i like to think ), and that EXE compact is not "natural" imo, so you may have some performance issues no?
So yeah each thing has its focus, let it be i guess :)
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
User avatar
Script47
Posts: 147
Joined: Thu Nov 21, 2013 6:11 pm

Re: Why learn another language?

Post by Script47 »

vitinho444 wrote:Yeah well HTML is made for web for a reason ( i like to think ), and that EXE compact is not "natural" imo, so you may have some performance issues no?
So yeah each thing has its focus, let it be i guess :)
Yeah, it needs to be optimized a little bit more but then after that you wouldn't be able to tell a difference.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Why learn another language?

Post by hallsofvallhalla »

HTML5 is no where near where it needs to be to compete with C++ or even .NET when it comes to 3d and shaders.
User avatar
Script47
Posts: 147
Joined: Thu Nov 21, 2013 6:11 pm

Re: Why learn another language?

Post by Script47 »

hallsofvallhalla wrote:HTML5 is no where near where it needs to be to compete with C++ or even .NET when it comes to 3d and shaders.
Maybe not, but in terms of 2D games it is fine right? So why don't people use it?
User avatar
vitinho444
Posts: 2819
Joined: Mon Mar 21, 2011 4:54 pm

Re: Why learn another language?

Post by vitinho444 »

Script47 wrote:
hallsofvallhalla wrote:HTML5 is no where near where it needs to be to compete with C++ or even .NET when it comes to 3d and shaders.
Maybe not, but in terms of 2D games it is fine right? So why don't people use it?
I think C++ and a graphics lib should be faster than html5 :)
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Why learn another language?

Post by Jackolantern »

Script47 wrote:
hallsofvallhalla wrote:HTML5 is no where near where it needs to be to compete with C++ or even .NET when it comes to 3d and shaders.
Maybe not, but in terms of 2D games it is fine right? So why don't people use it?
They do use it for 2D games. Lots and lots of them. It is probably the most popular game development platform in the world today. An estimated 25% of all mobile apps are being made with HTML5 today, including games, Flash took a pretty fast nosedive after Adobe Edge was announced so HTML5 owns browser-based games, pretty much all mobile OS after Android use HTML5 as a first-class development platform, etc.
The indelible lord of tl;dr
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: Why learn another language?

Post by a_bertrand »

There is still a huge difference in terms of speed between C++ and HTML even for 2D. Sure it depends on your requirements.
Creator of Dot World Maker
Mad programmer and annoying composer
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: Why learn another language?

Post by Chris »

A programmer should never restrict themselves to one language. Do not question this, that's the way it is.
Fighting for peace is declaring war on war. If you want peace be peaceful.
Post Reply

Return to “General Development”