• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:21
CEST 17:21
KST 00:21
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting7[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
Revisiting the game after10 years and wow it's bad Ladder Impersonation (only maybe) 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting How to Block Australia, Brazil, Singapore Servers
Tourneys
WardiTV Mondays RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia Crank Gathers Season 2: SC II Pro Teams LiuLi Cup - September 2025 Tournaments
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BW General Discussion Question regarding recent ASL Bisu vs Larva game [Interview] Grrrr... 2024 Pros React To: BarrackS + FlaSh Coaching vs SnOw BW caster Sayle
Tourneys
[ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues [ASL20] Semifinal A
Strategy
Current Meta Relatively freeroll strategies BW - ajfirecracker Strategy & Training Siegecraft - a new perspective
Other Games
General Games
Dawn of War IV Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Series you have seen recently... Anime Discussion Thread Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Rocket League: Traits, Abili…
TrAiDoS
Inbreeding: Why Do We Do It…
Peanutsc
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1192 users

Game Programming Primer - Page 7

Forum Index > General Forum
Post a Reply
Prev 1 5 6 7 All
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 17 2013 16:51 GMT
#121
On January 18 2013 01:28 Naeth wrote:
Show nested quote +
On December 08 2012 02:58 spinesheath wrote:
Just learn C++. C is used only in some rare and very specific circumstances nowadays.


This is not really true. It is certainly valid in game programming and similar high-level, high-complexity programming endeavours. Moreover, having learned C++ you won't have too hard a time understanding C, so "just learn C++" is sound advice.

But C is still used all over the place, mostly for academic or low-level purposes like kernel programming, drivers or any number of obscure CASs. Heck, people still use FORTRAN...

Things like kernel programming and drivers fall under "rare circumstances" in my book. These things don't make up a huge percentage of code produced these days. You also aren't very likely to get a job in that field unless you have significant programming experience.
If you have a good reason to disagree with the above, please tell me. Thank you.
Naeth
Profile Joined July 2011
Germany25 Posts
January 17 2013 17:22 GMT
#122
Yes, this is mostly open source and academic stuff. No standard programming job. Also the classification as rare circumstances is fair enough, see my edit on the previous page.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 17 2013 18:52 GMT
#123
Well, sure, C is still used a lot, but it's mainly because people have to work with existing C code. New C projects are the rare ones.
If you have a good reason to disagree with the above, please tell me. Thank you.
finkelboy
Profile Joined December 2008
Italy372 Posts
January 18 2013 16:23 GMT
#124
Wow, really really useful, thanks a lot for your effort
Ma jae yoon, what else? By.hero next bonjwa
RGnt
Profile Blog Joined January 2011
Finland100 Posts
January 19 2013 21:12 GMT
#125
I love how EVERY time people get hung up on language choices. C/C++ are pretty much the "standards" currently in the industry. Also, what I've found is that languages like C tends to keep programmers "honest" and teach the subtle art of actually managing the smallest detail in their code.
Personally I used to hate Java, (ironically I fell in love with C# from the get go) but I was "forced" to pick it up for UNI and now I pretty much prefer to use it for almost anything. Personally I did learn programming on C64 Basic and machine language, that was fun. . . And to this day I value the lessons I learned from the "low level" programming and am often able to do stuff more efficiently with higher level languages just because I know what happens under the hood.

So to point, forget the language and learn the art of programming, study the math and understand the algorithms
Nhatn: my guide names » i just think about what i want to do to ur children » np
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 19 2013 22:51 GMT
#126
On January 20 2013 06:12 RGnt wrote:
I love how EVERY time people get hung up on language choices. C/C++ are pretty much the "standards" currently in the industry. Also, what I've found is that languages like C tends to keep programmers "honest" and teach the subtle art of actually managing the smallest detail in their code.
Personally I used to hate Java, (ironically I fell in love with C# from the get go) but I was "forced" to pick it up for UNI and now I pretty much prefer to use it for almost anything. Personally I did learn programming on C64 Basic and machine language, that was fun. . . And to this day I value the lessons I learned from the "low level" programming and am often able to do stuff more efficiently with higher level languages just because I know what happens under the hood.

So to point, forget the language and learn the art of programming, study the math and understand the algorithms

The more details you have to manage, the more mistakes you WILL make. There is a reason the programming world has moved to higher level languages over time. When C came out (a high level language at the time), a lot of people said it's no good, proper programming can only be done in ASM. You know how that one ended.

Learning how to program properly is important, but knowledge of low level programming is actually not required for that; the same principles can be applied at all levels of abstraction.
If you have a good reason to disagree with the above, please tell me. Thank you.
Spyridon
Profile Joined April 2010
United States997 Posts
Last Edited: 2013-01-26 05:09:36
January 26 2013 05:07 GMT
#127
On January 18 2013 01:28 Naeth wrote:
Show nested quote +
On December 08 2012 02:58 spinesheath wrote:
Just learn C++. C is used only in some rare and very specific circumstances nowadays.


This is not really true. It is certainly valid in game programming and similar high-level, high-complexity programming endeavours. Moreover, having learned C++ you won't have too hard a time understanding C, so "just learn C++" is sound advice.

But C is still used all over the place, mostly for academic or low-level purposes like kernel programming, drivers or any number of obscure CASs. Heck, people still use FORTRAN...

Edit: Pondering whether my stated uses of C would qualify as "rare and very specific" circumstances, I decided to restate my point: Among all languages C may have a rather low market share today, but compared to just C++ the difference is not as big as one might think. Googling for some numbers on that statement I was surprised to find that the difference is even smaller than I assumed, see this article (10/2011). Of course, there are no really reliable numbers. Plus it's not even clear what we are trying to measure here. How is "market share" defined for programming languages? :S
Nonetheless, the graphic is interesting – especially the "job postings" bar.


It's "somewhat" true.

A lot of people in this topic are talking as from the perspective of a "game developer" as a developer building a full game engine for a game from scratch, but honestly that's not really commonplace in todays industry.

Today being a "game developer" could mean so many multitudes of different jobs, with more of them NOT about programming than the ones that are.

So the statement of "Just learn C++. C is used only in some rare and very specific circumstances nowadays." is sometimes true, but very misleading. If you are going to be a professional game developer (assuming not for your own development team) you will be joining a team that often has an engine of choice already. Contrary to popular belief, these days the engine for most games are NOT made specifically for the game. Most game development companies already have either game engines they already licensed, or they have one that their company designed specifically for the game itself. This means the language you have to know is mostly dependent on the engine you are using, and often times it's not C++, since in a professional atmosphere time = money and you want to develop in as little time as possible. Many times you need to learn a language specific to the engine itself.

Also it's not common knowledge that one of the most common jobs for game programmers these days are actually tool programmers, rather than programmers of the actual game. And its these peoples job to make editors for the game for the other "programmers" to design the gameplay itself. In terms of Starcraft, think of it as you were the person to make the Galaxy editor. Once the editor is done, the further programming work is just functions that are not already available in the editor that someone on the team needs.

Basically any game that's designed with a potential sequel in mind (most games these days) require tool programmers who are adept in the specific engine, rather than broad C++ programmers, since they make sequels much more profitable since you only need new media and minimal amounts of work on everything else. Even if you are an expert in C++ on a C++ based engine, there will still be a longer learning curve than someone who is adept in the engine and only mediocre in their C++ knowledge.

Also, if you want a job in the game industry you need to have a more specific specialty nowdays. You may be a graphics programmer specialized in shaders, you may be an engine programmer (but there arent as many of these as there used to be anymore), you may be the already mentioned tool programmer, you may specialize in optimization and trying to understand and smooth out the complexities of the game engine, you may be a network programmer, or you may specialize in adding and/or balancing game logic to an already existing game stage/level/world and do a very minimal amount of programming (which actually is the job many of the programmers who design the combat systems in games).

So to sum things up, C++ "helps" to know, or at least be familiar with, but it's a bit misleading to say C++ is used more than any other language. C/C#/various scripting languages are actually coming up in the world since tool programmers are becoming more mainstream. I wouldn't advise specializing in a specific programming language though.

My advice to anyone who wants to be a game designer? Do a little shopping on various engines and learn a few of them. You will need to learn a couple different languages based on the engine you join, and it would be good to make sure one of them is C++ focused, but also learn some that are not. You will see the things they have in common with each other, and you will also be able to easily pinpoint the strengths and weaknesses of each language. But more importantly you will learn how to program specific to game development, and learn how real development works in an existing game engine. Once you do this you will probably find what specialty you like and this will enable you to be able to find out what role you would try to find in a professional development team. Furthermore, if you decide you actually want to be an engine programmer, you won't be able to create a very good engine without knowing where the bar is set for a game engine. Once you know the in's an out's of different engines, you will know what you feel you could improve on in your own engine, as well have a long list of your favorite features you encountered in each of the engines you used in the process.
IRL_Sinister
Profile Blog Joined May 2011
Ireland621 Posts
February 12 2013 02:29 GMT
#128
Not into programming or game development at all but this was a great article, thank you.
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
February 18 2013 23:00 GMT
#129
On February 12 2013 11:29 IRL_Sinister wrote:
Not into programming or game development at all but this was a great article, thank you.

Awe thanks! That's great to hear
Kerm
Profile Joined April 2010
France467 Posts
March 05 2013 15:36 GMT
#130
On January 26 2013 14:07 Spyridon wrote:
Show nested quote +
On January 18 2013 01:28 Naeth wrote:
On December 08 2012 02:58 spinesheath wrote:
Just learn C++. C is used only in some rare and very specific circumstances nowadays.


This is not really true. It is certainly valid in game programming and similar high-level, high-complexity programming endeavours. Moreover, having learned C++ you won't have too hard a time understanding C, so "just learn C++" is sound advice.

But C is still used all over the place, mostly for academic or low-level purposes like kernel programming, drivers or any number of obscure CASs. Heck, people still use FORTRAN...

Edit: Pondering whether my stated uses of C would qualify as "rare and very specific" circumstances, I decided to restate my point: Among all languages C may have a rather low market share today, but compared to just C++ the difference is not as big as one might think. Googling for some numbers on that statement I was surprised to find that the difference is even smaller than I assumed, see this article (10/2011). Of course, there are no really reliable numbers. Plus it's not even clear what we are trying to measure here. How is "market share" defined for programming languages? :S
Nonetheless, the graphic is interesting – especially the "job postings" bar.


It's "somewhat" true.

A lot of people in this topic are talking as from the perspective of a "game developer" as a developer building a full game engine for a game from scratch, but honestly that's not really commonplace in todays industry.

Today being a "game developer" could mean so many multitudes of different jobs, with more of them NOT about programming than the ones that are.

So the statement of "Just learn C++. C is used only in some rare and very specific circumstances nowadays." is sometimes true, but very misleading. If you are going to be a professional game developer (assuming not for your own development team) you will be joining a team that often has an engine of choice already. Contrary to popular belief, these days the engine for most games are NOT made specifically for the game. Most game development companies already have either game engines they already licensed, or they have one that their company designed specifically for the game itself. This means the language you have to know is mostly dependent on the engine you are using, and often times it's not C++, since in a professional atmosphere time = money and you want to develop in as little time as possible. Many times you need to learn a language specific to the engine itself.

Also it's not common knowledge that one of the most common jobs for game programmers these days are actually tool programmers, rather than programmers of the actual game. And its these peoples job to make editors for the game for the other "programmers" to design the gameplay itself. In terms of Starcraft, think of it as you were the person to make the Galaxy editor. Once the editor is done, the further programming work is just functions that are not already available in the editor that someone on the team needs.

Basically any game that's designed with a potential sequel in mind (most games these days) require tool programmers who are adept in the specific engine, rather than broad C++ programmers, since they make sequels much more profitable since you only need new media and minimal amounts of work on everything else. Even if you are an expert in C++ on a C++ based engine, there will still be a longer learning curve than someone who is adept in the engine and only mediocre in their C++ knowledge.

Also, if you want a job in the game industry you need to have a more specific specialty nowdays. You may be a graphics programmer specialized in shaders, you may be an engine programmer (but there arent as many of these as there used to be anymore), you may be the already mentioned tool programmer, you may specialize in optimization and trying to understand and smooth out the complexities of the game engine, you may be a network programmer, or you may specialize in adding and/or balancing game logic to an already existing game stage/level/world and do a very minimal amount of programming (which actually is the job many of the programmers who design the combat systems in games).

So to sum things up, C++ "helps" to know, or at least be familiar with, but it's a bit misleading to say C++ is used more than any other language. C/C#/various scripting languages are actually coming up in the world since tool programmers are becoming more mainstream. I wouldn't advise specializing in a specific programming language though.

My advice to anyone who wants to be a game designer? Do a little shopping on various engines and learn a few of them. You will need to learn a couple different languages based on the engine you join, and it would be good to make sure one of them is C++ focused, but also learn some that are not. You will see the things they have in common with each other, and you will also be able to easily pinpoint the strengths and weaknesses of each language. But more importantly you will learn how to program specific to game development, and learn how real development works in an existing game engine. Once you do this you will probably find what specialty you like and this will enable you to be able to find out what role you would try to find in a professional development team. Furthermore, if you decide you actually want to be an engine programmer, you won't be able to create a very good engine without knowing where the bar is set for a game engine. Once you know the in's an out's of different engines, you will know what you feel you could improve on in your own engine, as well have a long list of your favorite features you encountered in each of the engines you used in the process.


Depends on the platform.
Go to Gamasutra jobs offers regarding programming for AAA companies (i.e : working on mainstream high profile console/PC games), pretty much every one of them reads "Strong C++ skill required".
What i know is that I know nothing - [http://twitter.com/UncleKerm]
vitruvia
Profile Joined June 2009
Canada235 Posts
April 22 2013 04:56 GMT
#131
2 really successful indie games are made by xna - bastion and terraria.
i'm just wondering if the makers of those games have to pay special licensing fee to microsoft for using xna as their framework.
Since the game is for profit and i assume the majority of the game is completed in xna since it wasn't mentioned other wise.
what quote?
drjones
Profile Joined March 2014
1 Post
March 06 2014 04:51 GMT
#132
Just wanted to say thanks for the tips, following your education has reminded me of a lot of stuff I have not used for quite a while.

Also, to beat a long dead horse, in defense of C:

Think about how many computers you own. One, two, maybe a laptop in addition? But really you own many more. If you have a car you own many separate computers inside it. Your TV, DVD, etc all are full of processors in some cases more than one. And now we want our fridge etc. to talk to our phones or the internet adding more chips. Someone has to write all the code that goes in those processors. And they need it to be fast and efficient. Depending on the application a cheaper chip with more processing or memory constraints might save hundreds on every unit sold. There are embedded applications that have fancy OS layers or that are built in object oriented languages but the bulk of the work I have seen is straight up C. Since the code you are writing needs to execute perfectly, hundreds of times a second for up to 50 years there is little room for tricky implementations that save a few lines of text but are twenty times harder for other engineers to understand.

I studied C++, and many other languages in school and was able to shift to C pretty easily, the important thing is learning concepts behind the syntax, keeping your code readable, maintainable and well architected.

Not to be a downer but I'd have a backup plan. I have several friends who work on AAA titles that are some of the top grossing in history on the art side and they make modest livings and have seen most of their coworkers and occasionally themselves laid off. Replaced by unpayed interns or outsourced. This can happen in any industry but games like movies have a lot of talented people fighting for a few jobs which means employers can really treat ya like crap without a second thought. Go for your dream but don't be so focused that you can't do something boring as well to pay the rent.
LaNague
Profile Blog Joined April 2010
Germany9118 Posts
Last Edited: 2014-03-06 22:53:11
March 06 2014 22:52 GMT
#133
xna is free as far as i know.

Microsoft sells their visual studio ultimate license and gives me a whole lot of tools to play with without bothering me for money, at least thats the deal i think i have with them.




Also, these languages are made to be understood by humans, if you want to learn C++, just do it, its not hard, even as a first language.

C# is another good one, its very productive.
If you go to a university, they make you lean java anyways, i dont know what is it with academics and their java.
Prev 1 5 6 7 All
Please log in or register to reply.
Live Events Refresh
Wardi Open
11:00
WardiTV Mondays #56
ByuN vs Clem
WardiTV1298
TKL 366
IndyStarCraft 208
Rex135
CranKy Ducklings84
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 366
LamboSC2 219
IndyStarCraft 208
Rex 135
StarCraft: Brood War
Britney 42249
Calm 6377
Rain 3925
Bisu 3462
Horang2 1291
Shuttle 948
Jaedong 851
Light 641
Soma 608
actioN 569
[ Show more ]
Snow 416
Mini 209
sSak 207
Soulkey 202
firebathero 193
Leta 188
hero 177
Hyun 151
ggaemo 106
Aegong 91
ZerO 78
Zeus 74
Killer 74
Sea.KH 62
Sharp 58
JYJ57
sorry 55
ToSsGirL 46
Movie 40
Free 36
Mong 34
Terrorterran 20
Rush 18
Noble 11
Dota 2
Gorgc7134
qojqva3280
XcaliburYe410
Other Games
B2W.Neo705
Lowko390
DeMusliM344
Liquid`VortiX159
Skadoodle129
KnowMe118
QueenE55
Trikslyr26
ZerO(Twitch)12
C9.Mang00
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis7048
• Jankos2119
• TFBlade676
Other Games
• Shiphtur31
Upcoming Events
3D!Clan Event
39m
CranKy Ducklings
18h 39m
Safe House 2
1d 1h
Sparkling Tuna Cup
1d 18h
Safe House 2
2 days
Monday Night Weeklies
3 days
Tenacious Turtle Tussle
5 days
The PondCast
5 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.