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

Re: Performance concern... by Robert

Robert
Tue Sep 09 23:09:35 CDT 2003

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/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=MPG.1998131d602f651a989680%40news.microsoft.com
(complete thread)





"Action" <actionatadistance@hotmail.com> wrote in message
news:%236q0Wz0dDHA.3788@tk2msftngp13.phx.gbl...
> 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
>
>



Re: Performance concern... by 100

100
Wed Sep 10 08:30:22 CDT 2003

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

"Robert Jacobson" <rjacobson_at_oddpost_com@nospam.com> wrote in message
news:eI9vcF1dDHA.3280@tk2msftngp13.phx.gbl...
> 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/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=MPG.1998131d602f651a989680%40news.microsoft.com
> (complete thread)
>
>
>
>
>
> "Action" <actionatadistance@hotmail.com> wrote in message
> news:%236q0Wz0dDHA.3788@tk2msftngp13.phx.gbl...
> > 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
> >
> >
>
>



Re: Performance concern... by Pete

Pete
Wed Sep 10 09:13:35 CDT 2003

Hi,

100 wrote:
> 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



Re: Performance concern... by Robert

Robert
Wed Sep 10 12:24:43 CDT 2003

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.


"100" <100@100.com> wrote in message
news:uk$nu85dDHA.1656@TK2MSFTNGP10.phx.gbl...
> 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
>
> "Robert Jacobson" <rjacobson_at_oddpost_com@nospam.com> wrote in message
> news:eI9vcF1dDHA.3280@tk2msftngp13.phx.gbl...
> > 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/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=MPG.1998131d602f651a989680%40news.microsoft.com
> > (complete thread)
> >
> >
> >
> >
> >
> > "Action" <actionatadistance@hotmail.com> wrote in message
> > news:%236q0Wz0dDHA.3788@tk2msftngp13.phx.gbl...
> > > 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
> > >
> > >
> >
> >
>
>