Opened 6 years ago

Closed 5 years ago

#85 closed defect (fixed)

Blobs, bytevectors, byte-vectors, octet-vectors, or something else?

Reported by: cowan Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Core Keywords:
Cc:

Description

Now that we have blobs, we have to decide what to call them.

Change History (9)

comment:1 Changed 6 years ago by arcfide

I think that we should go with bytevectors, which is a fairly clear name, has precedent and is in widespread common use.

comment:2 Changed 6 years ago by cowan

Outside R6RS, the most common name is u8vector, tracking SRFI 4. However, byte-vector, vector-b8, blob, and other names are also in use.

I favor blob myself, because blobs can be analyzed in any number of ways, not just as vectors of bytes.

comment:3 Changed 6 years ago by arcfide

Blob doesn't really mean anything though, which is why I don't like it. It doesn't give you any suggestions about how you might interact with it, when in actuality, we are enforcing a certain basic idea: a vector of bytes. Whether we extract those bytes out and use them in various different ways doesn't detract from this. Blob just kind of sounds ugly to me, as well. A vector of bytes implies what I want in the interface, namely that you reference elements in that vector by byte offset, that you treat it like a contiguous set of bytes, and so forth. Blob could mean anything to me, and I have no intuition about its interface. u8vector is okay, as is byte-vector and vector-b8, but each of those is, IMO, less convenient or more obtuse than bytevector.

comment:4 Changed 6 years ago by alexshinn

  • Status changed from new to decided

We voted to use the R6RS term bytevector.

comment:5 Changed 6 years ago by alexshinn

  • Status changed from decided to writing

comment:6 Changed 5 years ago by cowan

  • Resolution set to fixed
  • Status changed from writing to closed

Reopened due to public comments.

comment:7 Changed 5 years ago by cowan

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:8 Changed 5 years ago by cowan

  • Status changed from reopened to decided

WG1 decided to keep the name bytevector.

comment:9 Changed 5 years ago by cowan

  • Resolution set to fixed
  • Status changed from decided to closed
Note: See TracTickets for help on using tickets.