Article View: comp.arch
Article #12660Re: Did Microsoft decree a byte order?
From: Dennis O'Connor~
Date: Thu, 04 Jan 1996 04:25
Date: Thu, 04 Jan 1996 04:25
33 lines
2272 bytes
2272 bytes
haertel@ichips.intel.com (Mike Haertel) writes: ] Dennis O'Connor~ <doconnor@sedona.intel.com> wrote: ] >Admit it : being order-neutral is ] >slower. Ask your typical customer wether they'd rather have a ] >byte-order-neutral OS that runs slower, or a machine-order-dependant ] >OS that runs faster, and which do you think they will buy ? ] ] More seriously, I completely disagree with Dennis. I don't see ] any great advantage to standardizing a byte order in an OS, since ] no matter which order you standardize you disagree with about half ] the world. (Internet protocols are big endian, most on-disk data ] structures in PC applications are little-endian.) ] ] Since this is comp.arch, does anybody have any actual performance ] numbers for the costs of byte swapping? It's one thing to have some small amount of code in your OS that knows it must byte-swap everytime (like a TCP/IP stack on an Intel Architecture computer). It's quite another to degrade the performance of your entire OS by making the entire OS byte-order insensitive. Besides, at a mere 10 or 100Mbps, the network is already pretty slow (compared to current CPUs that is). So what if it's a little slower ? If you _really_ care (and some do) get an intelligent network interface card to do the bottom of the TCP/IP stack for you. Ain't that just like an Intel engineer to propose throwing more processor (or in this case, more processorS ) at a problem ? :-) -- Dennis O'Connor doconnor@sedona.intel.com i960(R) Architecture and Core Design Not an Intel spokesman. TIP#518 Fear is the enemy.
Technical Details
Message-ID:
<DOCONNOR.Jan442511@sedona.intel.com>Path:
arc1-ca.pugleaf.net!news.ssd.intel.com!chnews!chnews!doconnorReferences:
<4b56do$c3u@sundog.tiac.net> <DKIp84.9Az@calcite.rhyolite.com> <jgkDKMn2x.2KA@netcom.com> <DOCONNOR.Jan431552@sedona.intel.com> <4chm3l$maf@news.jf.intel.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.ssd.intel.com!chnews!chnews!doconnor From: doconnor@sedona.intel.com (Dennis O'Connor~) Newsgroups: comp.arch,comp.lang.c Subject: Re: Did Microsoft decree a byte order? Date: 4 Jan 96 4:25:11 Organization: Intel Corporation, Chandler, AZ Distribution: world Message-ID: <DOCONNOR.Jan442511@sedona.intel.com> References: <4b56do$c3u@sundog.tiac.net> <DKIp84.9Az@calcite.rhyolite.com> <jgkDKMn2x.2KA@netcom.com> <DOCONNOR.Jan431552@sedona.intel.com> <4chm3l$maf@news.jf.intel.com> NNTP-Posting-Host: sawblade.ch.intel.com In-reply-to: haertel@ichips.intel.com's message of 4 Jan 1996 22:59:01 GMT