mt,
Doesn't sound as if your program uses a lot of MFC - so improvements in the
GUI design and implementation will be minimal.
What do you use for the string manipulations in the current design? Is it
STL, or the MFC CString class, or brute force using char * and CRT
functions?
If your app is highly tuned and you are using a mixture of these (STL for
storage, CString for display, and CRT functions for manipulations) then you
can expect to take a serious performance hit at first, partially due to the
learning curve, and partially due to the storage inefficiencies of the C#
string class.
That said, the performance delta may likely be unnoticeable by typical
users. For instance, your program may spend 10% of the wall clock time
manipulating and parsing strings, 55% of the time fetching data from the
network, and 35% of the time formatting, populating controls, and managing
the display.
After converting to C#, if you experience a 50% increase in the time to do
the manipulating and parsing, the precentages would be 14%, 52%, and 43%.
The things that C# does not do as well as native C/C++ programming are
typically not related to the "long pole in this tent"..
regards
roy fine
"mt" <th******@bellsouth.net> wrote in message
news:3Y*****************@bignews5.bellsouth.net...
Hi,
W H A T
I am considering moving my windows app written in Visual C++ 6.0 to C#
..NET.
Q U E S T I O N
I was wondering if application speed will be a problem in .NET when
compared to a VC++6? Am I going to take a big performance hit?
W H Y
My main reason for doing this is to simplify the building of the app's
front end GUI. It seems that windows and controls construction is a WHOLE lot
easier in C# than it is with MFC? But I am totally new to .NET and C#, so
I may be wrong about this?
M Y A P P
My application is a single window SDI. It receives it's input via a
network ActiveX control, but it's just a string of characters really. It then does
some heavy string/character parsing, stores everything in arrays and then
prints text to the window. So the app's basic requiremts are :-
- parse strings of characters quickly
- store large numbers strings in memory efficiently and be able to get to
each string quickly
- repaint the interface when the user scrolls
- that's it :)
Thanks for any feedback.
Mike