[Scheme-reports] 6.3.7 blobs Andy Wingo (19 May 2011 17:05 UTC)
Re: [Scheme-reports] 6.3.7 blobs Aaron W. Hsu (20 May 2011 03:01 UTC)
Re: [Scheme-reports] 6.3.7 blobs Andy Wingo (20 May 2011 07:51 UTC)
Re: [Scheme-reports] 6.3.7 blobs Alex Queiroz (20 May 2011 09:05 UTC)
Re: [Scheme-reports] 6.3.7 blobs Andre van Tonder (20 May 2011 14:32 UTC)
Re: [Scheme-reports] 6.3.7 blobs Alex Queiroz (20 May 2011 14:32 UTC)
Re: [Scheme-reports] 6.3.7 blobs John Cowan (21 May 2011 22:22 UTC)
Re: [Scheme-reports] 6.3.7 blobs Andy Wingo (22 May 2011 14:04 UTC)
Re: [Scheme-reports] 6.3.7 blobs John Cowan (22 May 2011 17:53 UTC)
Re: [Scheme-reports] 6.3.7 blobs Aaron W. Hsu (23 May 2011 22:35 UTC)
Re: [Scheme-reports] 6.3.7 blobs John Cowan (23 May 2011 22:50 UTC)

Re: [Scheme-reports] 6.3.7 blobs John Cowan 21 May 2011 22:21 UTC

Andy Wingo scripsit:

> `make-blob' needs a fill argument.  (Filling it with random memory is a
> potential security vulnerability in many contexts.)

Security-conscious systems can fill it with truly random data, or all zeros,
or whatever they like.

> Someone mentioned (Peter?) that partial-bloc and partial-blob-copy!
> could be rolled into blob-copy and blob-copy!, and I agree very much.  I
> like the language about copy direction; that was very carefully done.

Thank you!  I think I got the language from memcpy.  Ticket filed.

> There is no read syntax for blobs; I think this is an error.  What about
> good ol' #vu8().

This makes sense if they are truly byte vectors, not so much if they are
truly blobs.  The difference being that a byte vector is a vector of
small integers, whereas a blob is something that can be *seen* as a vector
of small integers, or in a bunch of other ways (for which WG2 will provide
procedures).  See http://trac.sacrideo.us/wg/wiki/BlobAPI for a proposal.

> What would you call a sub-blob which shares state with another blob?

We don't have such state-sharing objects now, except lists.

--
John Cowan   cowan@ccil.org    http://ccil.org/~cowan
You cannot enter here.  Go back to the abyss prepared for you!  Go back!
Fall into the nothingness that awaits you and your Master.  Go! --Gandalf

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