• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:47
CEST 05:47
KST 12:47
  • 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
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles2[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66Weekly Cups (June 23-29): Reynor in world title form?14FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? Weekly Cups (June 30 - July 6): Classic Doubles Program: SC2 / XSplit / OBS Scene Switcher
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site Flash Announces Hiatus From ASL
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Summer Games Done Quick 2025! Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2024!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 625 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
Replay Cast
00:00
Korean StarCraft League #77
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 209
ProTech62
StarCraft: Brood War
GuemChi 758
Leta 168
Sharp 111
MaD[AoV]48
Bale 18
Icarus 10
LuMiX 1
Dota 2
monkeys_forever802
League of Legends
JimRising 782
Counter-Strike
Coldzera 219
Super Smash Bros
Mew2King128
Other Games
summit1g9587
shahzam824
WinterStarcraft339
Maynarde156
NeuroSwarm73
SortOf56
Organizations
Other Games
gamesdonequick41862
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH300
• practicex 14
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1090
Other Games
• Scarra2401
• Shiphtur298
Upcoming Events
Sparkling Tuna Cup
6h 13m
WardiTV European League
12h 13m
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
20h 13m
The PondCast
1d 6h
WardiTV European League
1d 8h
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
1d 12h
Replay Cast
1d 20h
RSL Revival
2 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
2 days
RSL Revival
3 days
Classic vs Cure
[ Show More ]
FEL
3 days
RSL Revival
4 days
FEL
4 days
FEL
4 days
CSO Cup
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
IEM Cologne 2025
FISSURE Playground #1
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.