Performance concern...

  • Thread starter Thread starter Action
  • Start date Start date
A

Action

Hi,
I am deciding whether I should use MFC or C# to write a Management Station
which has lots of GUI components
I would perfer C# for shorter development time...but I am a bit concerning
the performance when there are large number of UI components
so my questions is
is the application still very responsive if i run a C# program under a P4
1.8 G, 256MRam platform running win2k?
how about comparing MFC to C#?

thank you
 
C# might be slower. The GDI+ drivers are not hardware accelerated, so you
wouldn't want to develop the latest and greatest 3d game using managed code
and GDI+.

However, this difference probably won't be significant in a typical
Windows.Form application. It won't be as fast, but it should be fast
enough. Meanwhile, you'll be much more productive.

Check out this thread:

http://groups.google.com/[email protected]
(complete thread)
 
Hi Robert,
I'm developing a graphic extensive app with c# using GDI+. I can say: yes it
is slower than GDI and apps written with MFC, but it is not that slow. .NET
definitely can be used for good responsive GUI applications.

As far 3D games are concerned I was nicely surprised to find this
http://www.vertigosoftware.com/Quake2.htm . This is .NET version of quake
II. To be more specific only the client part of the game is rewritten for
..NET. The engine is still in C. However, this is the part which takes care
of all visualization. And it runs really smooth. Give it a shot and spend
some time with this game. Seems like .NET + DirectX can be used for writing
decent 3D games.

B\rgds
100
 
Hi,
As far 3D games are concerned I was nicely surprised to find this
http://www.vertigosoftware.com/Quake2.htm . This is .NET version of
quake II. To be more specific only the client part of the game is
rewritten for .NET. The engine is still in C. However, this is the
part which takes care of all visualization. And it runs really
smooth. Give it a shot and spend some time with this game. Seems like
.NET + DirectX can be used for writing decent 3D games.

I don't think it uses managed directx much (if at all).. I'm pretty sure
that's doing software rendering.

The managed directx samples (come with the dx sdk) are excellent showcases
for the speed of the managed version of dx (very close to unmanaged
equivalents' speeds).

-- Pete
 
Oh, I didn't mean to imply that .Net itself was unsuitable for game
programming in general, just (possibly) GDI+ itself. Making DirectX calls
should be as performant as making them from unmanaged code, AFAIK. I was
just using an extreme example to show that a typical Winform office
application ought to run just fine.
 
Back
Top