🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9384

Re: Big, Little and Bi endians

#9384
From: john blackburn
Date: Fri, 09 Jul 2004 11:30
22 lines
1910 bytes
Andrue Cope [TeamB] wrote:

> Lol. Probably someone will now provide an automatic way to convert this
> but it's way too late. This header is dated 1994.

Maybe this is an opportunity for us to become famous; invent a new transport
layer "endian transient" packet type whereby there is an endian map at the
head of the packet and the remainder of the packet is the data in a generic
ordering.  The endian map would indicate whether byte ordering or word
preservation is required for each group of bytes in the map. Then software
at the remote end (or even firmware/hardware) can generically convert.
There are efficiency and possibly performance (unless conversion is in
firmware/hardware) penalties but I'm sure that people would be willing to
pay that for the convenience of interworking.

It would have to cope with 16, 32, 64 and 128 bit word lengths at least and
be structured so that longer word lengths can be practically added. 

Or am I being naive  :-)


John
Technical Details
Message-ID: <40ee81ba@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40ee62ed$1@newsgroups.borland.com> <u1sse0t3kjlaedjkiifjg3ffjf8anhuhb7@4ax.com> <40ee7479@newsgroups.borland.com> <40ee7b6f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e4fd0ef684fef580
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <40ee81ba@newsgroups.borland.com>
From: john blackburn <john.blackburn@lintonhealy.co.uk>
Subject: Re: Big, Little and Bi endians
Newsgroups: borland.public.cppbuilder.nativeapi
Date: Fri, 09 Jul 2004 12:30:03 +0100
References: <40ee62ed$1@newsgroups.borland.com> <u1sse0t3kjlaedjkiifjg3ffjf8anhuhb7@4ax.com> <40ee7479@newsgroups.borland.com> <40ee7b6f$1@newsgroups.borland.com>
Lines: 25
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 82.68.81.227
X-Trace: newsgroups.borland.com 1089372603 82.68.81.227 (9 Jul 2004 04:30:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail