Jump to content
  • Advertisement
Sign in to follow this  
Chris81

VS .NET 2005 impact on game programming?

This topic is 4829 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I just received my VS .NET 2005 Beta 2 and have been playing around with it. I have been reading and trying out all the new C++ language features, and it's almost like a totally new language!! Things like: gcnew, ^ pointer, % tracking references, generic classes, generic functions in generic classes, interface keyword, abstract and sealed keywords, properties, delegate's, and events, finally keyword to go with try/catch, for each, reflection, the .net framework with all kinds of string, date, etc. api's on and on...wow Do you think all this will have an impact on game programming? The features would make everything so much simpler, but would it be too costly in speed? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Many of them are C++ .NET features not available in unmanaged code. Some of them are Microsoft-specific. Some of them are mis-features and shouldn't be used anyway.

Personally I can't see any real reason to use C++ .NET (Maybe there is one, but I don't know what it is) - you may as well just use C#

And as far as games are concerned - no, these are not ground-breaking things, they don't make the process of making a game ANY different. Adding a few new minor features to the language doesn't change anything about how things are done.

Mark

Share this post


Link to post
Share on other sites
I've used C++ .NET for various tools in my office instead of C# (which I would prefer to use) because that way I can directly include game side .H files for enums, etc. Duplicating those enums or defines in C# apps can be a nasty headache keeping them in sync.

Share this post


Link to post
Share on other sites
Most of that is only applicable in "Managed C++", and that basically _is_ a new language. =)

I don't think it will have an impact on game programming. It is possible that some windows-only-games will use those features, but that's hardly an impact.

Share this post


Link to post
Share on other sites
Quote:
I don't think it will have an impact on game programming. It is possible that some windows-only-games will use those features, but that's hardly an impact.


Well, Windows and XBOX. I could see a lot of games being released for those two platforms only, and still have a huge market. How many mac only gamers are there? Relatively very few..., not too many cross-platform games either, at least that I know of.

Quote:
And as far as games are concerned - no, these are not ground-breaking things, they don't make the process of making a game ANY different. Adding a few new minor features to the language doesn't change anything about how things are done.


And it wouldn't change the PROCESS of making games, it would just make it easier. Especially the managed memory part. And utility stuff like String::Format so you dont have to rewrite all the redundant functions yourself.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
For heaven's sake, when will people realize that "managed memory" is not an improvement but rather a step back?!

Share this post


Link to post
Share on other sites
Quote:
Original post by Chris81
Quote:
I don't think it will have an impact on game programming. It is possible that some windows-only-games will use those features, but that's hardly an impact.


Well, Windows and XBOX. I could see a lot of games being released for those two platforms only, and still have a huge market. How many mac only gamers are there? Relatively very few..., not too many cross-platform games either, at least that I know of.

There's no .NET runtime for the Xbox and nor is there ever likely to be now. Perhaps the Xbox 360 will get the .NET runtime at some point but it doesn't have it at the moment. There are a lot of cross platform games if you include the consoles - plenty of titles ship on at least Xbox and PS2, with many also shipping on GC and PC as well.

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
For heaven's sake, when will people realize that "managed memory" is not an improvement but rather a step back?!


Worst post ever!!

Cheers
Chris

Share this post


Link to post
Share on other sites
He has a point though, however obliquely made. If you are very concerned about memory management then you probably shouldn't be using C++ anyway, as there are plenty of other great languages that offer such features but without tacking them crudely on as an afterthought.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!