Re: Why are .Net UIs slower than C++ or classic VB?
- From: "CMM" <cmm@xxxxxxxxxx>
- Date: Tue, 2 May 2006 20:39:02 -0400
Well I doubt the kernel would be .NET ;-) .... but the .NET Framework should
completely replace the Win32 API. And, I mean COMPLETELY.... not just a
layer over it (that eventually calls down into Win32 for everything) the way
its implemented now.
--
-C. Moya
www.cmoya.com
"Jim Hubbard" <reply@xxxxxxxxxxxxx> wrote in message
news:ZuS5g.8746$QU3.5555@xxxxxxxxxxxxxxxxxxxxxxxxx
IF they ever did, it'd be interesting to see if they used .Net to write
it. I don't think they can. You can't write an OS in entirely managed
code - can you?
I'd love to see them put buffer overflow protection in the OS and keep the
OOP (class designs and the core classes) of .Net while tossing the
framework (i.e. IL code) idea. That should speed things up significantly.
Anyway, if they did a complete rewrite (slimming it down and speeding it
up) it would definitely be something worth paying to upgrade to.
"CMM" <cmm@xxxxxxxxxx> wrote in message
news:%23UrNjQkbGHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
Despite being a fan of .NET (from a programmer-- ease of development
standpoint) I tend to agree with almost everything you say. Windows is
due for a big rewrite a la MacOS X.... I doubt MS has the guts to do it.
--
-C. Moya
www.cmoya.com
"Jim Hubbard" <reply@xxxxxxxxxxxxx> wrote in message
news:ARK5g.8201$QU3.902@xxxxxxxxxxxxxxxxxxxxxxxxx
"Frans Bouma [C# MVP]" <perseus.usenetNOSPAM@xxxxxxxxx> wrote in message
news:xn0elqxcw6fhqt000@xxxxxxxxxxxxxxxxxxxxx
Jim Hubbard wrote:
I've noticed (for quite some time now) that .Net UIs are not as
responsive (see Franklin Covey's PlanPlus for Windows XP or
Symantec's .Net Norton Antivirus or even the .Net version of Paint
done by Washington University vs good old Paint UIs for examples).
They are also not as professional looking as the older applications
and the reaction times of the UIs is not professional looking at all.
Why do you think this is? Is it bad programming or is there
something else going on here?
Winforms is synchronically, and Win32, which it is based on, is
asynchronically. So, say you want to disable a button in .NET, you set
button.Enabled to false, right? Well, under the hood, a message is send
to the button, and there's a delay when that's handled, the feedback
comes back that the message is handled and hte button is actually
disabled. This is a lot of overhead.
Yes it is.
It seems that Microsoft is simply adding layer upon layer to thier OS -
which would explain the OS bloat and ever-increasing system
requirements.
.Net is an answer to an OS problem anyway. The bufffer overflows that
.Net was meant to handle should be taken care of by the OS....not the
programming langauge and a runtime that lays on top of the OS.
Seems to me that Windows is long overdue for a complete rewrite from the
ground up.
Sure, this would mean breaking backwards compatability with some of the
older stuff, but they could include a personal copy of Virtual PC and
allow the user to run his/her old apps under the old OS while adopting
the new, slimmer, faster, more functional, Windows X and the new
programming that it allows.
For all the people who claim it's better in WPF: I'm sure it is, but
that's still a long time away and it doesn't help the people today.
It's been 5 (IMHO miserable) years with .Net. Nothing really to show
for the effort outside the enterprise (where competition is limited and
comtrols are very tight).
.Net (IMHO) just isn't cutting it as the tool that the COMMUNITY uses to
expand the OS (and that's what you need to build a great OS). It never
should have been written and forced upon us. The problems with buffer
overflows should have been fixed in the OS - then it wouldn't matter
what tool you chose to write your code in.
But......whatever.......
Jim
.
- Follow-Ups:
- Re: Why are .Net UIs slower than C++ or classic VB?
- From: Cor Ligthert [MVP]
- Re: Why are .Net UIs slower than C++ or classic VB?
- References:
- Why are .Net UIs slower than C++ or classic VB?
- From: Jim Hubbard
- Re: Why are .Net UIs slower than C++ or classic VB?
- From: Frans Bouma [C# MVP]
- Re: Why are .Net UIs slower than C++ or classic VB?
- From: Jim Hubbard
- Re: Why are .Net UIs slower than C++ or classic VB?
- From: CMM
- Re: Why are .Net UIs slower than C++ or classic VB?
- From: Jim Hubbard
- Why are .Net UIs slower than C++ or classic VB?
- Prev by Date: Re: Why are .Net UIs slower than C++ or classic VB?
- Next by Date: Re: Why are .Net UIs slower than C++ or classic VB?
- Previous by thread: Re: Why are .Net UIs slower than C++ or classic VB?
- Next by thread: Re: Why are .Net UIs slower than C++ or classic VB?
- Index(es):
Relevant Pages
|