From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] structure allocation. From: Charles Forsyth Date: Tue, 7 Mar 2006 09:23:32 +0000 In-Reply-To: <20060307030035.617C311735@dexter-peak.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 0d804f6c-ead1-11e9-9d60-3106f5b1d025 > the trouble is these structures go on forever and have many > bitfields. (in one i count 46 fields, all integers of random width, > randomly intermixed.) they shouldn't rely on bitfields. in particular, the language does not guarantee which order they are assigned to bits in a larger unit (ie, left to right or right to left). the nice thing is that in the plan 9 environment, you get to fix such mistakes and do much better (although it's always tedious to discover that late in the day)