Why learn another language?
Why learn another language?
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.
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Why learn another language?
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.
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
Mad programmer and annoying composer
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
Re: Why learn another language?
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
So yeah each thing has its focus, let it be i guess
Re: Why learn another language?
Yeah, it needs to be optimized a little bit more but then after that you wouldn't be able to tell a difference.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
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Why learn another language?
HTML5 is no where near where it needs to be to compete with C++ or even .NET when it comes to 3d and shaders.
Re: Why learn another language?
Maybe not, but in terms of 2D games it is fine right? So why don't people use it?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.
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
Re: Why learn another language?
I think C++ and a graphics lib should be faster than html5Script47 wrote:Maybe not, but in terms of 2D games it is fine right? So why don't people use it?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.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Why learn another language?
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.Script47 wrote:Maybe not, but in terms of 2D games it is fine right? So why don't people use it?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.
The indelible lord of tl;dr
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Why learn another language?
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
Mad programmer and annoying composer
Re: Why learn another language?
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.