Thread: .Net vs VS 6

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    1

    .Net vs VS 6

    guys, a simple question... I've heard that the .NET c++/cli aplications have a 10-20% performance loss, over the old pre-.net c++ coding.... is this real??? if it is, industry knowdays use old style or new .net for game programming???

    thanks in advance, good coding for you all

  2. #2
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    Yes, there is potential for performance loss due to the JIT compilation, however the amount is arguable. I doubt it's as high as 20%.

    Most of the industry uses native C++ for game programming. It won't be a while untill you see much movement to .NET or C# for game programming (probably when the slowdown due to JIT becomes completely transparent).

    That being said, I use .NET in game-related programming. I say game-related, because i'm not programming a game, i'm programming game-creation tools, and require .NET for the interface. I haven't had much trouble.

    If you're real serious about the speed, but still want to use .NET, you can run NGen (google it) on the application to force it to native code. I've heard this is still slow due to some overhead in the conversion, but you'll have to research that yourself, since I don't really know.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Games are pushing the envelope as it stands now and any slowdown with the current demands games place on the system would be a totally unacceptable slowdown. You will see C/C++ being used for games for quite some time.

  4. #4
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    Java..... (don't even think about it)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. migrate from .Net 2.0 to .Net 3.0
    By George2 in forum C# Programming
    Replies: 3
    Last Post: 07-25-2007, 04:07 AM
  2. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 01:15 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM