🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #20557

Re: Drum memory

#20557
From: Mike Mahar
Date: Tue, 28 Mar 1989 04:29
12 lines
1005 bytes
Actually, there is a problem in C with changing the order of the elements in
a structure for optimization.  Page 196 in Kernighan and Ritchie says:

"Within a structure, the objects declared have addresses which increase
 as their declarations are read left-to-right."

This means it is illegal in C to change the order of the elements in a
structure.
-- 
"The bug is in the package somewhere". |	Mike Mahar
 - Anyone who has used Ada	       | UUCP: {turtlevax, cae780}!weitek!mahar
Technical Details
Message-ID: <772@attila.WEITEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!amdcad!weitek!attila!mahar
References: <21976@lll-winken.LLNL.GOV> <28411@ucbvax.BERKELEY.EDU> <1487@wpi.wpi.edu> <95741@sun.Eng.Sun.COM> <13447@steinmetz.ge.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!amdcad!weitek!attila!mahar
From: mahar@attila.WEITEK.COM (Mike Mahar)
Newsgroups: comp.arch
Subject: Re: Drum memory
Message-ID: <772@attila.WEITEK.COM>
Date: 28 Mar 89 04:29:24 GMT
References: <21976@lll-winken.LLNL.GOV> <28411@ucbvax.BERKELEY.EDU> <1487@wpi.wpi.edu> <95741@sun.Eng.Sun.COM> <13447@steinmetz.ge.com>
Reply-To: mahar@attila.WEITEK.COM (Mike Mahar)
Organization: WEITEK, Sunnyvale CA
Lines: 12