Skip to main content
gamedev.net
🔒 Locked

Code question?

Started by DevLiquidKnight Oct 2, 2002 at 11:19 AM 15 replies 550+ views
Original Post
DevLiquidKnight
DevLiquidKnight
I was wondering with all the languages will they still be using C++ in the next few years? Or will everything be shifting to .NET or C# ? By everything I mean is it better to learn C++ C# or .NET when you trying to become a game programmer. Or does it even matter? Kinda confused on exactly what language is going to be used in a few more years and if C++ will ever fade away
Fruny
Fruny
Yes. No. Both. No. Unlikely.

A language is a tool designed for a specific set of tasks.
Learning a single language will limit you untolerably.
Learning several languages let you pick the most adapted in any given situations.

Think about learning other types of languages (scripting, functional, OO ...)


Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
DevLiquidKnight
DevLiquidKnight
quote:
Original post by Anonymous Poster
In the next few years everybody will code in assembler - possibly hex (for optimisation, of course.)

LoL don''t they already and a compiler converts it to assembler

I do know many languages im just trying to figure out what is best to learn EXTENSIVELY
Mr Bakbugawk
Mr Bakbugawk
Is it assembler or assembly? I thought the language was assembly and an assembler is what converts the code into machine code. I have heard people use the two interchangably and now I am confused?!
bugawk?
DevLiquidKnight
DevLiquidKnight
quote:
Original post by Mr Bakbugawk
Is it assembler or assembly? I thought the language was assembly and an assembler is what converts the code into machine code. I have heard people use the two interchangably and now I am confused?!


This thing called the C++ compiler converts your C++ code into assembler code and writes the assembler as machine code into a exe file. That is how a compiler makes your application.

And as for assembler and assembly its the same thing people just have this strange conspiarcy to say it differen''t ways (thats a guess). Technically I think assembler is the thing that compiles your assembly code therefore you could almost say it both ways. So its like saying I write my code in C but I use a C++ compiler to compile it.
Fruny
Fruny
Unless I''m mistaken, the first ''high-level'' programming language - that superceded assembly - was Fortran I in 1954. Fortran has gone through several evolution (the latest version is dated from 1990 IIRC). Fortran is still in use, in the domain it was designed for - scientific programming (heck, my brother is learning it as part of his Chemical Engineering curriculum).

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
DevLiquidKnight
DevLiquidKnight
I always wanted to use forthran but i never could find a free compiler hehe
DevLiquidKnight
DevLiquidKnight
What is objective-c? I have never heard of this must understand must learn!
Fruny
Fruny
quote:
Original post by DevLiquidKnight
What is objective-c? I have never heard of this must understand must learn!


And this forum thread.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
_the_phantom_
_the_phantom_
quote:
Original post by Anonymous Poster
If a new programming "language" come and let you "write" (may not even need to literally write/type) a complete app without writing loops, ifs, and also let you develop the app in much less time than c++, then it will likely to make c++ fade away. Of course recent IDEs and their wizards don''t count.


Even that wont cause C++ to fade away, that langauge would be better suited to things which arent games, because as you become more abstract you lose low level control of things, if that wasnt the case then alot more commerical games would be written in complied BASIC and not C and C++

imho, C and C++ will never go away, I think its a nice mid-point between the speed of pure assembler and the abstractness of things such as BASIC

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.