The Old New Thing

Date Arrow  August 31, 2007

Je viens de finir de lire The Old New Thing. L’auteur, Raymond Chen, a bosse dans l’equipe de developpement de Windows depuis 1995 (au moins) et il raconte les raisons de certaines decisions prises pendant le design de differentes versions de Windows, depuis 1985 jusqu’a Vista. Le livre est une compil’ des meilleurs articles de son blog.

Et franchement, c’est a ne pas y croire.

Windows Vista possede encore des APIs pour faire tourner des applications DOS 1.0, juste pour le plaisir de la compatibilite descendante ad infinitum. Les noms des methodes de Win32 sont absolument cryptiques, impossibles a retenir, mais le gars justifie toutes et chacune de ces aberrations par des raisons historiques diverses. La registry contient des infos pour changer le fonctionnement du memory manager juste pour que Lotus 1-2-3 version 2 pour Windows (1990) tourne sans probleme sous Vista.

Je me demande comment M$ a permis que ce livre soit publie! Il fait plutot envie de ne plus jamais, jamais, developper pour Windows, dans aucun langage de programmation qui soit. Je recommande vivement sa lecture, surtout si vous avez des connaissances techniques du kernel Linux! Les descriptions du fonctionnement interne de Windows sont impressionantes, avec un niveau de detail unique.

Similar Posts:

Tagged   Books · Opinion

3 Comments

  • #1.   Adam
    09.02.2007

    While I am sure the internals of windows suck really badly, i’ve recently read thru a large chunk of doco for the linux kernel..and I have to say that it really shows its background … a 1970’s unix based architecture. while it does incorporate modern items, it really needs to be redesigned, the structure is so very very legacy.

    I was also most ammused to read that a quad core intel chips can still run 8086 code natively…MS is not the only one who takes compatibility to absurd extreems….there are Op’s built into the processor that cannot be used unless you turn on 16 bit 286 mode, now that is a complete waste of transistors…

  • #2.   adrian
    09.02.2007

    Well, Maserati, Ferrari, BMW and Jaguar cars feature a XIXth century architecture: the internal combustion engine. And this doesn’t prevent people from identifying them as the best cars ;) And Gates himself has recognized that Windows is based on a Unix architecture so I don’t see that as a problem. Linux as an OS works great, much better than Windows, and that’s a fact. And it’s free.

  • #3.   Adam
    09.02.2007

    It is true that nothing better then the internal combusion engine has made it past the starting blocks or the patent horders, but there is certainly a number of large advances in software engineering. Take a look at Plan 9 (http://plan9.bell-labs.com/wiki/plan9/plan_9_wiki/) or more recently Inferno http://code.google.com/p/inferno-os/ for examples of a better solution. Of course naturally I disagree with the way they have done it, but it is quite well done :)

Commenting