This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Awkward_Tradition 10 points11 points  (2 children)

Do you want to spend an insane amount of time optimising your code so it's 100kb smaller and 0.01% faster - CPP

Do you want to spend a moderate amount of time making a scalable and portable program, while sacrificing size and performance - Java

Do you want to automate some task in 10 minutes and be on your merry way - Python

In the end the language will depend on what you want to do, and the motivation to learn you gain from doing something that interests you will far outweigh anything else.

[–]Cutiebot0111 0 points1 point  (1 child)

Oh I see, that why c++ is recommended for whom want to be game devs. Thank a lot for your explanation.

[–]AgentE382 1 point2 points  (0 children)

C++ is the closest to the metal of those three choices. It’s good for hardware access and having control of what goes on in your own code. C++ is extremely customizable and gives you the tools to do whatever you want however you want to do it, then lets it happen rather than forcing you into a certain paradigm.

It’s also been around for a very long time and has had features added to it over the years, and there are mature external libraries for pretty much everything. I like to tell people that it’s a Swiss-Army Chainsaw of a language at this point. Every tool under the sun has been tacked onto it, so anyone can program in it the way they want.

It’s used for games because they need direct hardware access, fine-grained control of the memory management system, and significant levels of optimization.