an alternative idea for general binary vectors Taylor Campbell (23 Mar 2005 23:55 UTC)
Re: an alternative idea for general binary vectors Michael Sperber (24 Mar 2005 06:41 UTC)
Re: an alternative idea for general binary vectors Taylor Campbell (24 Mar 2005 20:50 UTC)
Re: an alternative idea for general binary vectors Michael Sperber (29 Mar 2005 14:28 UTC)
Re: an alternative idea for general binary vectors Taylor Campbell (29 Mar 2005 20:36 UTC)
Re: an alternative idea for general binary vectors Michael Sperber (30 Mar 2005 13:29 UTC)

Re: an alternative idea for general binary vectors Taylor Campbell 29 Mar 2005 21:10 UTC

On Tue, 29 Mar 2005, Michael Sperber wrote:

> Do you mean that the endianness parameter defaults to the
> machine-native endianness?  That'd be a sure-fire recipe for
> portability hell.  Cf. how many times people forget htonl(3).

I based that design on SRFI 56 (binary I/O).  I don't think it would be
as much of an issue in Scheme as in C, though, as there is in general
less low-level clutter to distract one with in Scheme compared to C.
However, it's not a fundamental facet of my alternative binary vector
suggestion; the endianness parameter could be required just as well.

(If you do think that the endianness parameter being optional would
cause significant problems easily, you should mention it on the SRFI 56
list as well.)