EditorsAbout the SiteComes vs. MicrosoftUsing This Web SiteSite ArchivesCredibility IndexOOXMLOpenDocumentPatentsNovellNews DigestSite NewsRSS

11.20.09

Why Windows Seems Like a Dead End

Posted in Microsoft, Vista 7, Windows at 9:48 am by Roy Schestowitz

Summary: Yesterday’s USENET post from Richard Rasker quoted verbatim

Subject: Windows 7’s dirty secrets revealed
From: Richard Rasker <spamtrap@linetec.nl> (Linetec)
Date: Thursday 19 Nov 2009 18:07:34
Groups: comp.os.linux.advocacy


An interesting look under the hood of Windows -- and in particular Vista 7:

http://www.theregister.co.uk/2009/11/18/windows_7_heart/

It would appear that quite a bit of criticism on the technical
implementation of Windows and the knowledge of Microsoft's programmers
actually isn't all that far off the mark:

- Criticism: Windows is such a convoluted mess that even Microsoft doesn't
understand it any more:

 "the operating system is full of internal dependencies, and as Russinovich
  admitted: "We don't really understand those dependencies".
  Engineers have added features to low-level APIs that assume the presence
  of dynamic link libraries (DLLs) that belong with higher level APIs, and
  when you try to extract just those low-level components, they break."

The upside here is of course that they're actually working on improving
things in this respect, even though I think that the *nix way of dealing
with libraries is far superior.

- Criticism: Windows depends heavily on dirty hacks to offer at least the
illusion of speed:

 "Microsoft has been in the habit of combining unrelated APIs into the same
  DLL for performance reasons."

and

 "Microsoft also picked out 300 common user actions, such as clicking the
  Start menu or opening Control Panel, and gave them intensive optimisation
  to improve perceived performance."

- Criticism: Windows encourages sloppy, messy programming:

 "How about reliability? This was fascinating. Microsoft observed that 15
  per cent of all user-mode crashes and 30 per cent of shutdown crashes were
  caused by heap corruption: applications that try to access freed memory,
  or memory beyond what is allocated. Its solution was a feature called the
  Fault Tolerant Heap (FTH).
  ...
  "The user gets better reliability at the expense of performance, which
  suffers by up to 15 per cent or so, while buggy applications work better
  than you would expect."

I really don't think that this is a good idea. If there's one way to make a
computer behave less predictable and perhaps make programmers lazy and
sloppy, it's to implement fault tolerance for software bugs.

Richard Rasker
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • co.mments
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • NewsVine
  • Print
  • Propeller
  • Slashdot
  • Technorati
  • TwitThis
  • Webnews
  • YahooMyWeb

If you liked this post, consider subscribing to the RSS feed or join us now at the IRC channel. To use your own IRC client, join channel #boycottnovell in FreeNode.

Pages that cross-reference this one

12 Comments

  1. David Gerard said,

    November 20, 2009 at 3:32 pm

    Gravatar

    This sort of thing is why I’m amazed Wine works so well. And why I’m not surprised Alexandre Julliard is *incredibly* fussy about what gets into Wine.

    Natasiel Reply:

    This remember me a post on Slashdot, and I have read it somewhere else too. As a sample example:

    Civilisation II has been released on Windows 3.11 then somewhere in the code, the application freed some memory. Due to a bug in Windows 3.11, the memory was not properly freed and Civilisation had to access this “not properly freed memory” to read some data. This bug has been fixed in Windows 95, but the proper fix broke Civilisation II. So, binary speaking, to keep backward compatibility, Windows 95 had a hack to verify if the calling application was civ2.exe before freeing memory.

    This is but one known of the many “features” inside the hidden Windows code. Wine has a better win32 API implementation than any Windows. Otherwordly, to be 100% compatible, Wine has to implement bugs.

    -Dominic

    David Gerard Reply:

    Yeah, that example was from Raymond Chen’s blog. Which everyone should read, because it’s a shining example of what ensuring backward compatibility means in the real world: http://blogs.msdn.com/oldnewthing/ Fantastic stuff.

    The problem is that if you buy Windows 95 and your old programs don’t work, you’re not going to blame the old program – you’re going to blame the new OS. So they have to do stuff like that. That’s the pain of selling an OS for proprietary software. With free software, people are used to recompiling – GNU/Linux has extremely bad backwards binary compatibility, because it doesn’t need it.

    Wine is so far resisting app-specific hacks (Crossover has a few, but the winehq tree doesn’t), but yeah, eventually it’ll have to implement them. At the moment it confines itself to accurately reproducing more general Windows bugs ;-) Test-driven development, no new features without a conformance test, etc.

    Roy Schestowitz Reply:

    That’s also why Microsoft can’t quite depart from x86.

    David Gerard Reply:

    Well, yeah. Backwards compatibility is the only reason to keep buying this stuff. Let’s duplicate Win32 on ARM! Uh, what? HORRIBLE programming interface.

    Yuhong Bao Reply:

    Get The Old New Thing book too. Among other things, it has an example where a journalist wrote a bad review on Win95. MS ended up calling in the journalist to investigate the bad review, and it turned that the journalist installed it via XCOPY, and not only that was unsupported, it caused a third-party control panel to hit an untested error path and crash due to a double-free. Also look at the comments on the Louderback review of Windows 7. It was obvious from the review itself that the problem that caused the bad review was the lack of drivers.

    Yuhong Bao Reply:

    Yea, in the Alpha NT days DEC had FX!32 and MS was going to create it’s own solution to run x86 Win32 apps too. BTW, guess why a solution to run x86 DOS and Win16 apps came with non-x86 NT but not x86 Win32 apps?

    Roy Schestowitz Reply:

    It was obvious from the review itself that the problem that caused the bad review was the lack of drivers.

    Vista architecture. See? That’s why it’s called Vista 7.

    Yuhong Bao Reply:

    “Vista architecture. See? That’s why it’s called Vista 7. ”
    Yes I know, but not the problem. MS do try to ensure driver backward compatiblity, XP and Vista drivers often do work in 7. It was mentioned in the comments, and by DaemonFC on IRC too when I was discussing why my old Palm device did not work on Vista.

    Roy Schestowitz Reply:

    So that’s the “post-Vista” era of Windows; still, leaving a trail of almost-obsolete binaries.

    Yuhong Bao Reply:

    What helped, I think, was the five-year gap between XP and Vista.

    Roy Schestowitz Reply:

    It’s not about duration.

What Else is New


  1. Eye on Microsoft: Signs of Game Over

    The press seems pessimistic about Microsoft, which is increasingly seen as unable to evolve and innovate; Microsoft's security problems (and security PR) persist in a major way



  2. Windows 'Battery Killer' (Vista 7) Also Has USB Data Transfer Issues and Stability Problems, Does Not Sell Well

    Vista 7 is plagued by serious bugs and new patches from Microsoft are said to be making things even worse; Microsoft is still unable to formulate a response to the new problems and Vista 7 sales continue to disappoint, so more vapourware and fake "leaks" are being used instead



  3. Norwegian Agency for Public Management and eGovernment Slams Microsoft OOXML

    The authorities in Norway justify the country's decision to reject Microsoft's standards-hostile ploy



  4. Steve Ballmer Visits Obama Once Again as His Fight Against Google Continues

    Updates on the competition between Microsoft and Google -- a rivalry that takes political form



  5. Microsoft's Hostile Takeover of the Healthcare System

    Microsoft wants to make medical records and management of patients a lot more dependent on Windows and its own private servers



  6. More Mono and Patent Poison from Novell

    “Pinta” comes from Novell staff and software patents tax (on SLE*) comes from Microsoft in the form of vouchers



  7. Patents Roundup: EFF Defends VoIP; Google, Apple, and Black Duck Stifle Progress; Microsoft Joins RPX

    A quick look at some patent news from the past week, ranging from defence to offence



  8. United Nations and World Bank Help Bill Gates and Microsoft Colonise Africa

    Microsoft's and Gates' incursions in Africa are backed by self-serving Western agenda of patents and proprietary software



  9. IRC: #boycottnovell @ FreeNode: February 8th, 2010

    IRC Log for February 8th, 2010



  10. Links 8/2/2010: Linux 2.6.33 RC7 and Parsix GNU/Linux 3.0r2 Released

    Links for the day



  11. Xbox 360 Still Under Many Lawsuits

    Lawsuits from many fronts add to the trouble that Microsoft's Xbox 360 already faces



  12. Facebook and Microsoft Revisited; New Examples of Microsoft Entryism

    A look at Facebook's relationship with Microsoft in 2010; Microsoft employees have an effect in competitors of Microsoft, so this issue is addressed too



  13. Microsoft Still Exploits the Taxpayers-Funded NASA to Spread Silver Lie and Close Down Research

    Microsoft-imposed corruption of NASA's obligation to the public carries on as it strives to capture academia too



  14. Microsoft 'Cloud' Falls Offline for a Quarter of a Day, Zune 'Cloud' Deletes Music, Microsoft Shop Also Kaput

    Microsoft continues to give online operations and online storage a bad name because of its sheer incompetence



  15. Ubuntu Perspectives: Signs of Change

    Analysis of Canonical's latest moves, which are being defended by some and severely criticised by others



  16. Apple's Newton Executive Negative About Apple's Latest Attempts at a Shinier Newton

    Apple's iPad still faces sometimes-overwhelming criticism, even from the company's own supporters and existing/former staff



  17. Microsoft Loses Another Vice President, Management Vacuum Alarms the Press

    Another Microsoft Vice President has just left Microsoft, joining the ranks of many more



  18. IRC: #boycottnovell @ FreeNode: February 7th, 2010

    IRC Log for February 7th, 2010



  19. Links 07/2/2010: Linux Mint 8 KDE, Linus on Nexus One

    Links for the day



  20. Patents Roundup: Extortion, Protection Rackets, Patent Trolling, and Small Victory for Mozilla

    Johnson and Johnson's multi-billion-dollar patent fine, patents' harms to real science and life, patent trolls thrive, and Mozilla's opposition to patent-encumbered codecs gradually pays off



  21. The Microsoft Apologists and Boosters Really, Really Like Novell!

    A complete list of news articles about Moonlight 3.0 preview shows that its biggest fans are Microsoft fans



  22. iPad is Like Zune

    iPad -- like Zune -- might not reach the European Union (EU), possibly due to lukewarm reception and lack of appeal, not trademarks



  23. Microsoft Shows Yet Again That It is Allergic to GNU/Linux

    Microsoft's hatred of GNU/Linux, as demonstrated in this weekend's news



  24. Michael Arrington a Hypocrite: Bribed by Microsoft Yet Fires Bribed Bloggers

    Another fine example of an influential blogger who sells out to Microsoft yet does not apply to himself the same standards that he applies to colleagues



  25. Microsoft Refuses to Comment About (Deny) the Sex Parties, Drug Use

    No denial from Microsoft in the face of very strong allegations



  26. Another Misdirected Response from the Government to the Company “Not Engineered for Security”

    Another terrible month for Microsoft insecurity and the government is still unable to respond sensibly to the threat



  27. IRC: #boycottnovell @ FreeNode: February 6th, 2010

    IRC Log for February 6th, 2010



  28. Links 6/2/2010: GNOME Journal Released, ARM CEO Sees Bright Future

    Links for the day



  29. Novell Executives Still Cannot Write Blog Posts?

    New evidence of ghostwriters in Novell's own Web site



  30. Microsoft Wants More Licensing Instead of Windows Bans

    At the World Economic Forum in Davos, Microsoft super-lobbyist Craig Mundie requests new laws that complicate the Internet and ignore the real problem (Microsoft negligence)


RSS 64x64RSS Feed: subscribe to the RSS feed for regular updates

Home iconSite Wiki: You can improve this site by helping the extension of the site's content

Chat iconIRC Channel: Come and chat with us in real time

Recent Posts