From: utzoo!decvax!cca!lazear@Mitre@sri-unix
Newsgroups: net.unix-wizards
Title: Re: C sizeof
Article-I.D.: sri-unix.3038
Posted: Wed Sep  1 02:58:47 1982
Received: Wed Sep  8 02:16:41 1982

From:   
Date: 26 Aug 1982 16:42:17 EDT (Thursday)
As recently seen on this list, the Berkeley compiler *knows* it is more
efficient to align int's, long's, and other biggies on certain boundaries.
Sure, the VAX book says they can start anywhere, but C knows *better*!

This problem is only annoying to those interested in inefficiencies
in writing extra bytes, *and* by those who are communicating between
dissimilar machines.  The latter was my case and gave me something to
do when I didn't really need the hassle.  Re-specifying structures so
they looked the same to all machines that were reading from each other
is a boring task, but is at the heart of real portability.

Walt Lazear at Mitre