May 22, 2012 Meeting Notes


This pre-dates the recording of a complete attendees list.


Binary Data

Dave Herman:

Yehuda Katz:

Allen Wirfs-Brock:

Luke Hoban:

YK:

DH:

LH:

AWB:

General discussion about real use cases...

DH, AWB:

DH:

LH, DH:

DH:

YK:

DH:

AWB:

DH, AWB:

DH:

AWB:

DH:

Standardize Little Endian? No opposition.

Erik Arvidsson, YK:

LH:

DH:

Bill, Brendan Eich:

DH:

BE:

DH:

YK:

DH:

YK:

DH:

YK:

Summary...

Doug Crockford:

BE:

DH:

BE:

DH:

DC:

DH:

ArrayBufferView - not an "array"
ArrayBuffer is a bucket of bytes
can be wrapped with as many ArrayBufferViews of any type and can all point to different sub range of the buffer, can access and modify bytes in the range
Add new views:
StructView
atomic types
- uint8
array( uint8 )
Can extend typed arrays...
S = Struct({
x: uint8,
y: uint8
});
* does not create a struct object, creates a struct type
x = new S
creates a new instance of this struct type
A = Array( S )
creates a new type, not instance

BE, DH, YK:

DH:

(stepped out, lost track...)

s = struct({
x: uint8,
y: uint32
})

d = new DV(buf, o)

v = d.get(s, 17)

v...

x
----> object pointing to offset starting at 17
y