Re: .NET myths debunked.

From: Will DeWitt Jr. (edge_at_boink.net)
Date: 01/05/04


Date: 4 Jan 2004 16:53:24 -0700

Randall Parker wrote:

> Are there any warning dialogs popping up when you try to run DOS apps
> from the 1980s? There are probably some DOS apps that are
> incompatible. But many still run.
>
> How about warning dialogs for Win16 apps?
>
> Win32 is going to last for decades. As for its days being numbered:
> Many of us will probably die first.

I think you're confused. Win16 was a technological improvement over
DOS, as Win32 was an improvement over Win16. Win16 provided access to
more memory and a standardized GUI interface (whereas with DOS you were
forced to roll your own, use EMS/XMS or a DPMI interface). Win32
expanded upon that by providing for a flat memory model that forever
rid us of dealing with segments, as well as forcing code to 32-bit
(e.g. - use the extended CPU registers rather than the old 16-bit
registers).

Because of that, there was no reason to put a "warning" dialog up
because there was nothing fundamentally unsafe about the older code.
DOS apps existing in virtual 8086 sandboxes, and Win16 apps existed in
yet another sandbox, but they were just as speedy as their Win32
counterpart, they just lacked easy access to more memory and a simpler
memory model.

.NET, OTOH, is being propped up as being safer (no more pointers, a
garbage collector to minimize the chances of memory leaks, and the
ability for admins to limit what kind of code can be ran). .NET brings
nothing new technology wise to the table other than a half-hearted
attempt to make something that can be cross-platform (and I say
half-hearted because .NET code is likely only going to be
cross-platform when it's ran on systems that implement WinForms and the
other Windows specific portions of the framework).

As far as Win32 being pushed to the back burner, one need only visit
Microsoft's Longhorn SDK online to note that there's either a) no
coverage of new Longhorn Win32 API's or b) there simply are no new
Longhorn Win32 API's--

http://longhorn.msdn.microsoft.com/

Everything documented there seems to indicate that it's only accessible
via .NET (or via Win32 somehow connecting with .NET namespaces, which
one imagines would be slower than simply doing the same from a .NET
app).

Anyways, it's delusional to think Microsoft won't play off safety and
security as a prime reason to avoid non-.NET apps. They already (on
Windows XP and Windows Server 2003) provide warning dialogs for
unsigned driver installations, I imagine popping up warning dialogs for
non-.NET apps would just be a logical extension of that (and of course,
anything signed or shipped by MS as part of Longhorn or Office would
likely be listed in any exception list to the rule).

Let me repeat something I've said elsewhere so there's no mistaking my
beliefs-- I do NOT believe that Win32 code is unsafe, I DO believe that
Microsoft will market Longhorn that way however, and I DO believe
consumers are just gullible enough to believe it.

Will



Relevant Pages

  • Re: .NET myths debunked.
    ... Are there any warning dialogs popping up when you try to run DOS apps from the 1980s? ... > I can't help wondering how long it will be before a Win32 app starts up ...
    (borland.public.delphi.non-technical)
  • Re: Delphi for .Net 3?
    ... For example, client/server architecture fell out ... Delphi supported SQLinks, then MIDAS/dbExpress, it doesn't make the ... But the fact is that .NET is very different from Win32, ... It will be interesting to see how quickly Vista and WinFX apps become widely deployed, and whether users will demand "new-look" apps. ...
    (borland.public.delphi.non-technical)
  • Re: Win32/64 Running as Emulation Layer on .NET in Future
    ... > apps, so I really don't see your point. ... various AMD and Intel 64 bit PCs, for which Win32 will be 'non-native'. ... Either that or some sort of pseudo-Win32 like the Win16 ...
    (borland.public.delphi.non-technical)
  • Re: My rant about the "throw out delphi and re-write it in C#" crowd.
    ... "With billions of dollars of business apps written for Win32, ... Today I can still run DOS apps. ... I'm not in the business of delivering mainstream technology solutions. ...
    (borland.public.delphi.non-technical)
  • Re: PostgreSQL and Firebird comparison via digg
    ... for fast response server apps it matters. ... Testing a "Hello World" apache dso vs perl on win32 got me the ... In the end I'll be looking to have an easy switch over to another DB after ...
    (borland.public.delphi.non-technical)