I come from a long line of hardcore development(15+ years) (x86/68000 ASM,
C/C+ realtime controls and even live streaming). Without knowing
specifically what/where you are trying to improve (performance), below is my
stab at your problem.
Oviously, .NET comes with much overhead. MS have done an amazing job with
the JIT to create native code and improve performance. Nonetheless,
abstraction comes with a price.
Currently, I use .NET 2005 for most of our solutions. Below are some things
you can look at.
1. Indentify your bottle neck and improve it (spot check).
2. Minimize reflection usage.
3. Use threadpool instead of launching your own thread when multithreading.
4. When multi-threading consider context switching when determining number
of threads.
What I've found is that most performance problems are usually confined to
small section of codes. Identify those and you should be able to resolve
most if not all of your problems.
Good luck.
Jeff
www.ruamkwamkid.com
"MPF" <(E-Mail Removed)> wrote in message
news:57DDB1CD-9B03-4DC5-B5C2-(E-Mail Removed)...
>I am not trying to smack a hornets nest, but is there any way to achieve
> near-Win32 performance from .Net apps?
>
> I'm porting a VB6 app to .Net and the difference in performance is
> notable.
> I'm using 3rd party controls from the same vendor and have trimmed as much
> "fat" from them as possible. Granted, there is functionality with the .Net
> controls that doesn't exist in the COM versions, but even with the
> "canned"
> controls, the difference can be seen.
>
> Rest assured, I'm playing by all of the OO (& MS for that matter)
> guidelines
> in the re-write, custom objects, stored procedures for nearly everything,
> limited amounts of data and a properly indexed database.
>
> Can anyone offer any tips for increasing performance with .Net windows
> forms
> apps? I'm considering migrating to Delphi since Borland still supports
> the
> Win32 platform.
>
> Sadly, it appears the runtime for Winforms performance is coming to that
> of
> Java runtime and Swing.
>
> Thanks,
>
> Morgan