- Jun 15, 2001
- 34,545
- 1,707
- 126
Yes, I know... it's another C++ thread from me.
I'm messing around with an OpenGL application on Windows and I've been looking at C#, which I have a little experience in. I was originally going to write it in C++, but now I'm not sure if there's any real reason to use C++ in a Windows environment.
I'm still new to serious programming, and I may be oversimplifying things, but it seems to me that if you need speed, you would use C and if you need an easy development environment, you'd use C#. Am I crazy? Other than the fact that most CS students are comfortable with C++, is there any reason to mess around with C++/CLI when you could just use C#? And if you really had to have screaming code, wouldn't the natural choice be C or assembly?
Assuming that there was no learning curve, why would someone choose C++/CLI?
I'm messing around with an OpenGL application on Windows and I've been looking at C#, which I have a little experience in. I was originally going to write it in C++, but now I'm not sure if there's any real reason to use C++ in a Windows environment.
I'm still new to serious programming, and I may be oversimplifying things, but it seems to me that if you need speed, you would use C and if you need an easy development environment, you'd use C#. Am I crazy? Other than the fact that most CS students are comfortable with C++, is there any reason to mess around with C++/CLI when you could just use C#? And if you really had to have screaming code, wouldn't the natural choice be C or assembly?
Assuming that there was no learning curve, why would someone choose C++/CLI?