🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3191

Re: Modula2 for C programmers?

#3191
From: "Mark Morgan Lloyd "
Date: Thu, 25 Jan 1996 13:38
18 lines
1207 bytes
> It depends how you are intending to access the bits individually.
> Among the bitset numbering orders I have seen are
>       {31, 30, ....    1, 0}
>       {24, 25, .... 32, 16, 17, ... 23, 8, 9,  ... 15,  7, 6, ... 0 }
>       {7, 6,   .... 0,  15, 14, ... 8, 23, 22, ... 16,  31, 30, ... 24 }

ISTR PIM favours the first. I think that the points Martin makes are 
something that any programmer should be aware of, they invariably crop up 
as soon as any attempt is made to access an underlying system that has 
not been written in the same language implementation- also when parsing 
data structures received as raw data across a network (both jobs that CS 
types prefer to sweep under the carpet :-)

Mark Morgan Lloyd
mark_tbu@cix.compulink.co.uk

[Opinions above are the author's, not those of his employers or 
colleagues]
Technical Details
Message-ID: <DLqoJr.II5@cix.compulink.co.uk>
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
References: <822561600snz@nezumi.demon.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
From: mark_tbu@cix.compulink.co.uk ("Mark Morgan Lloyd ")
Subject: Re: Modula2 for C programmers?
Message-ID: <DLqoJr.II5@cix.compulink.co.uk>
Organization: KDG Mobrey Telemetry
References: <822561600snz@nezumi.demon.co.uk>
Date: Thu, 25 Jan 1996 13:38:15 GMT
X-News-Software: Ameol