APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Security > Slow down,simplify
Printer Friendly Version




Slow down,simplify


Microsoft's most recent updates apparently caused problems more than a few users: Microsoft Patch Snafu Grows, Users Seek Workaround

My wife's XP has been running slowly since that patch, but a least it's still usable. I can probably just leave it be until Microsoft's next patch cycle. Not everyone can; some have had to back it off entirely.

A modern operating system like XP is a complicated beast. It's tempting to toss darts at Microsoft's incompetence, but while they certainly deserve some disdain, it's also true that patching often has unexpected and unpredictable effects somewhere else in the system. As the entire OS is far too complicated for any one person to grasp, these side effects are likely inevitable.

By the way, here's someone who actually likes Windows tossing some well deserved darts at Microsoft.

Anyway.. I can't help but wonder if clever code and pursuit of performance adds to this problem.

We are an impatient bunch, aren't we? We want our windows to snap open, we hate waiting for anything. While faster and faster hardware certainly feeds those desires, the OS and application folks can't ignore our demands either: they have to code for performance. A great deal of effort is put in to tight, efficient code that doesn't waste cpu cycles.












That code isn't necessarily buggy, or any more apt to be affected by seemingly unrelated patches than looser code would be, but it's almost certainly harder to understand, especially at a casual glance. So here we have a tight, fully optimized printer driver that has been working fine. We make a patch to the general printing system for some reason. There's no obvious reason to expect a problem with the driver, so probably no one even looks at it at all, but if they do, that efficient code certainly makes it harder to spot the glitch that is going to bite us later.

Sometimes the problem isn't from the programmer at all: modern compilers are fiendishly clever at optimization and will rearrange code to their own liking. A program that looks quite straightforward in its source form can be a maze of dark and twisty passages in its executable image.

But then again, sometimes the programmer is to blame. Sometimes programmers do cutesy stuff that is completely pointless. It looks clever, but the compiler would have generated equally good and equally fast code without their tricks, and the source would have been a heck of a lot easier to understand.

You aren't going to see Microsoft running an ad campaign bragging "We're better because we run more slowly", but both general security problems and plain old annoyance bugs would be lessened if code were more simple. Of course we'd also lose features, and that's impossible to accept: we need all these features.

And we need them now, thank you.


Technorati tags:
If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

2 comments




More Articles by Anthony Lawrence - Find me on Google+



Click here to add your comments





Thu Apr 20 13:27:58 2006:   bruceg2004


So, your wife is still not interested in OS X? Maybe you can play her a subliminal message tape at night while she sleeps :-)

- Bruce



Thu Apr 20 22:57:17 2006:   BigDumbDinosaur


I've tried that subliminal stuff with my wife. It doesn't work. She still refuses to do my laundry after all these years. <Shrug>

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - Security




Unix/Linux Consultants

Skills Tests

Guest Post Here