Article View: gnu.misc.discuss
Article #73879Re: Patent on a standard-byte order for intermachine communication
From: Richard Sitze
Date: Thu, 18 Jul 1991 18:29
Date: Thu, 18 Jul 1991 18:29
39 lines
2629 bytes
2629 bytes
In article <RYAN.91Jul17225230@ra.cs.umb.edu> ryan@ra.cs.umb.edu
(Daniel R. Guilderson) writes:
>In article <1738@opus.NMSU.Edu> sitze@nmsu.edu (Richard Sitze) writes:
>
> My only complaint is against those who feel that the idea is to
> OBVIOUS. Yes, it is simple and a beautiful solution to the problem.
> But how many figured it out for themselves?? Like many of the BEST
> ideas, it's only to obvious once you know it.
>
>Your assignment for the day, should you choose to accept it Mr.
>Phelps, is to transfer exactly one 32-bit word between a VAX and a
>68000 computer. The word must represent the same integer on both
>architectures. How do you do it without byte-swapping?
You are looking at this from a narrow point of view.
By byte-swapping (as done by Sun NFS (and thus I assume the patent
that Sun has supposedly infringed on declares a similar approach))
I would transfer a 32-bit word from a VAX to an Intel 386 by
converting VAX ordering to Motorola (NFS standard matches the Motorola
68000 byte ordering I recall), send it over the network to the Intel 386,
and convert to local Intel byte ordering - a round about way one must
admit, and certainly not the obvious solution to your original
question (though 'prehaps' obvious when one looks at the larger
picture). Even worse, if I follow the NFS standard, I send from VAX A
to VAX B by converting to Motorola 68000 as a middle step....
(Am I right in recalling that the VAX 32 bit word is slightly
different than the Intel 32 bit word??? - it's been a long time, but
the argument stands in either case...).
<ras>
--
+--------------------------
| Richard A. Sitze
| sitze@nmsu.edu, phone: (505) 646-6228
SH 163
Technical Details
Message-ID:
<1747@opus.NMSU.Edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!cs.umn.edu!ariel.unm.edu!nmsu!opus!sitzeReferences:
<gnusenet9107131607.AA14833@mole.gnu.ai.mit.edu> <1727@opus.NMSU.Edu> <709@silence.princeton.nj.us> <1738@opus.NMSU.Edu> <RYAN.91Jul17225230@ra.cs.umb.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,9a4c815047ed049b X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-07-18 15:21:21 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!cs.umn.edu!ariel.unm.edu!nmsu!opus!sitze From: sitze@nmsu.edu (Richard Sitze) Newsgroups: gnu.misc.discuss Subject: Re: Patent on a standard-byte order for intermachine communication Message-ID: <1747@opus.NMSU.Edu> Date: 18 Jul 91 18:29:04 GMT References: <gnusenet9107131607.AA14833@mole.gnu.ai.mit.edu> <1727@opus.NMSU.Edu> <709@silence.princeton.nj.us> <1738@opus.NMSU.Edu> <RYAN.91Jul17225230@ra.cs.umb.edu> Sender: news@NMSU.Edu Organization: NMSU Computer Science Lines: 39 In-reply-to: ryan@ra.cs.umb.edu's message of 18 Jul 91 02:52:30 GMT