Why C++?

Started by
22 comments, last by lee101 10 years, 1 month ago

an intermediate language. This means it's in between high-level(like BASIC) and low-level(like assembly)

BASIC (not vb) ?:-/
What would that make python and Lua (super duper high level) :)

UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32

--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy

Advertisement

I didn't rank python or Lua because I have no idea about them. I have programmed in BASIC (DOS), Assembly (both in "debug" with DOS and some ASM compiler I don't remember), and C++. No other extensive experience in other languages..... I made a game in DarkGDK with C++ and that's the only wrapper I have used......

I think you've got some good answers already and they pretty much sum up your question for “why”.

For subject and just to add something: When size of the project grows, more control is somewhat obviously needed. This is where C++ provides but just like with any other language, there's always the flip-side, and with C++, it often requires more work because of the fact that additional control is provided.

I don't personally think there is an “ultimate language” for games or anything else for that matter, it just boils down to the question of how much control do you need for what you are doing.

I think C++ has mature fast libraries like boost, and every device will let you build things in C++, it's also fairly good and very fast.

There are a few things about C++ that you have to do that you won't with a high level language, things such as dealing with pre compilation, pointers ect.

Also i feel like C++ can get very crazy because of the amount of language features eg marcos, templates ect.

More and more games are being written in higher level languages like JavaScript, a lot of C++ game engines let you program in a higher level language than C eg Unreal Engine lets you use UnrealScript.

Lee Penkman.

Addicting Word Games

Multiplication Master

Word Smashing Word Puzzle

This topic is closed to new replies.

Advertisement