Re: Re: about your concept

Andrew Suffield <[email protected]> Fri, 23 Jul 2004 17:28:08 +0100
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
On Fri, Jul 23, 2004 at 09:26:07AM -0500, Augie Fackler wrote:
> A while ago, it was suggested that the protocol be padded out to 4-byte 
> boundaries for the benefit of certain RISC platforms.
> The thread:
> http://www.y-windows.org/pipermail/y-devel/2004-April/thread.html#1317
> Contains this gem:
> http://www.y-windows.org/pipermail/y-devel/2004-April/001335.html
> From the linked message:
> >Let's break the protocol on platforms without 4-byte memory alignment
> >to work around the possibility of code being written by morons in the
> >future"? That's not a very compelling argument. You have to be really
> >stupid to write socket code with alignment issues.
> 
> Now, it doesn't break the protocol any more than it already is to have 
> alignments present. It would make life easier on some CPUs and to my 
> understanding have no real effect on others since they already have to 
> find the boundaries.

It would not make life easier on anything. Either it would do nothing
but waste bytes, by design, or it would break the protocol, depending
on how it was specified. The only reasonable interpretation is the
latter.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBATyYlpK98RSteX8RAu8RAKCJJS9s42rYobeoo48AybDy83qwHwCbBwdP
95phzgj9Pg6PMAk/vnUW9xo=
=h8Em
-----END PGP SIGNATURE-----