Re: [Scheme-reports] Bitwise operations on bytes Alex Shinn (29 Mar 2012 14:03 UTC)
Re: [Scheme-reports] Bitwise operations on bytes John Cowan (29 Mar 2012 16:15 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Alan Watson (29 Mar 2012 16:40 UTC)
Re: [Scheme-reports] Bitwise operations on bytes John Cowan (29 Mar 2012 17:40 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Per Bothner (29 Mar 2012 19:13 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Aaron W. Hsu (29 Mar 2012 20:18 UTC)
Re: Bitwise operations on bytes Arthur A. Gleckler (29 Mar 2012 20:20 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Aaron W. Hsu (29 Mar 2012 20:44 UTC)
Re: [Scheme-reports] Bitwise operations on bytes John Cowan (29 Mar 2012 20:30 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Per Bothner (29 Mar 2012 20:44 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Aubrey Jaffer (29 Mar 2012 17:56 UTC)
Re: [Scheme-reports] Bitwise operations on bytes John Cowan (29 Mar 2012 18:15 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Alan Watson (29 Mar 2012 18:26 UTC)
Re: [Scheme-reports] Bitwise operations on bytes Aubrey Jaffer (29 Mar 2012 19:56 UTC)

Re: [Scheme-reports] Bitwise operations on bytes Alex Shinn 29 Mar 2012 14:02 UTC

On Thu, Mar 29, 2012 at 2:52 PM, Alan Watson <alan@alan-watson.org> wrote:
> While I understand that more complete operations on byte vectors are being left for the large language, their utility in the small language could be significantly improved by adding bitwise operations on bytes (and only bytes) along with perhaps bytevector-for-each and bytevector-map. Consider, for example, the awkwardness of using byte vectors to represent bit sets without bitwise operations.
>
> I would imagine that the burden on implementors would be small, since I can't think of a Scheme that doesn't have bitwise operations on fixnums at least and since the for-each and map procedures can be written in Scheme (although there are advantages to standardizing them).
>
> Have these possibilities been considered by the WG? Would they be interested in receiving a more complete proposal?

We did strongly consider incorporating bitwise operations
as in (srfi 33) / (rnrs arithmetic bitwise), and decided to
leave it to the large language.  There was no question of it
being controversial or of limited use, it's simply one place
we decided to draw the line between large and small.

--
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports