• 0

[C++ & C#] Some questions


Question

Well i'm only 13 and i'm planning as a future career (i know its too early, but still) to be someone who develops computer games, programs, ect. I know some c++ (was about to start making a text game) and i need some questions answered.

1. Do you think that huge game development companies (like ea, bungie, ect) will start to program games in C# in the future or do u think they will mainly use c++ with some asm?

2. Would it be easy for someone who knows alot about c++ (enough to make text game), to mirgrate to C#?

3. What do you think is a better language (as in features and speed (don't consider conpatibility) )?

Thanks in advanced for answering my questions.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
Well i'm only 13 and i'm planning as a future career (i know its too early, but still) to be someone who develops computer games, programs, ect. I know some c++ (was about to start making a text game) and i need some questions answered.

1. Do you think that huge game development companies (like ea, bungie, ect) will start to program games in C# in the future or do u think they will mainly use c++ with some asm?

2. Would it be easy for someone who knows alot about c++ (enough to make text game), to mirgrate to C#?

3. What do you think is a better language (as in features and speed (don't consider conpatibility) )?

Thanks in advanced for answering my questions.

1. Not sure, anything is possible.

2. Yes, it is very easy.

3. I think it is an excellent language and has the potential to go far, but C++ will always be my preference.

Link to comment
Share on other sites

  • 0
Well i'm only 13 and i'm planning as a future career (i know its too early, but still) to be someone who develops computer games, programs, ect. I know some c++ (was about to start making a text game) and i need some questions answered.

1. Do you think that huge game development companies (like ea, bungie, ect) will start to program games in C# in the future or do u think they will mainly use c++ with some asm?

2. Would it be easy for someone who knows alot about c++ (enough to make text game), to mirgrate to C#?

3. What do you think is a better language (as in features and speed (don't consider conpatibility) )?

Thanks in advanced for answering my questions.

Hi, I develop in both c++ and c# so IMHO:

1. Maybe in the future. C# still laks in performance (remember it's not a problem of c# language but .NET engine) and some language features such as templates, but c# v 2.0 is in progress.

2. As far as language itself it's true. Anyway, using c# you will use .NET Framework which is as set of components, utilities and engines and it is far from c++ (and Window API). Generally, migrating from C++ to C# is not so easy, but it is much easier then starting from scratch.

3. C++ code is compiled into native code of CPU ulike C# code is compiled into pseudo-code reinterpreted by .NET engine. I have to say, C++ is today a better language giving faster executables. That's why will game developers migrate to C# (.NET) later than others.

Link to comment
Share on other sites

  • 0
3. C++ code is compiled into native code of CPU ulike C# code is compiled into pseudo-code reinterpreted by .NET engine. I have to say, C++ is today a better language giving faster executables. That's why will game developers migrate to C# (.NET) later than others.

I'm nitpicking here, but C# is compiled to a native executable by the JIT compiler. It isn't interpreted like VB's pcode was. After compilation, the speed differences between C++ and C# are negligible.

Link to comment
Share on other sites

  • 0

by the time you'd have a job in programming, C# would probably be the best bet because of longhorn and the demand of c# programmers, and programs will start to migrate to C#. But you have years to go so learning both wouldn't hurt.....

Link to comment
Share on other sites

  • 0
1. Maybe in the future. C# still laks in performance (remember it's not a problem of c# language but .NET engine) and some language features such as templates, but c# v 2.0 is in progress.

http://www.vertigosoftware.com/Quake2.htm

Quake II ported over from C++ to Managed C++ (.NET). In most cases it performed faster than the original C++ application.

Get your facts straight before you post unfounded comments please.

Link to comment
Share on other sites

  • 0

Laerning a specific language is not very useful unless you will be using that language constantly for work/school. You should be learning concepts and should be easily able to pick up a new language in a very short time. Longhorn and windows are not the only thing computer scientists/programmers develop for. For all we know, C# may not be around in 10 years; it may be replaced by something even "better".

Link to comment
Share on other sites

  • 0
Well i'm only 13 and i'm planning as a future career (i know its too early, but still) to be someone who develops computer games, programs, ect. I know some c++ (was about to start making a text game) and i need some questions answered.

1. Do you think that huge game development companies (like ea, bungie, ect) will start to program games in C# in the future or do u think they will mainly use c++ with some asm?

2. Would it be easy for someone who knows alot about c++ (enough to make text game), to mirgrate to C#?

3. What do you think is a better language (as in features and speed (don't consider conpatibility) )?

Thanks in advanced for answering my questions.

1) No.

2) Yes. In fact, you can learn C# without knowing C++ because it's just *that* much easier.

3) C++ for raw speed. C# for ease.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.