[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] Typed Array spec updates: strawman proposals



The Typed Array editors' draft has been updated:

http://www.khronos.org/registry/typedarray/specs/latest/

with changes supporting the following functionality:

 - Ability to copy sections of an ArrayBuffer
 - Read-only ArrayBuffers
 - Support for zero-copy data transfer via postMessage by defining the
behavior of ArrayBuffers and ArrayBufferViews under structured clone

The changes are clearly highlighted in the spec with "Strawman proposal".

The strawman proposal for the behavior of ArrayBuffers and views under
structured clone was discussed informally between Mozilla and Google,
and has undergone some iteration. (Earlier iterations involved making
an explicit API call to achieve transfer of ownership, and having the
default behavior perform a copy.) The current behavior was preferred
by members of the TC-39 committee, because it achieves unsurprising
performance characteristics.

We believe that these changes will be efficiently implementable in
current JavaScript engines and web browsers.

Your feedback on these changes would be greatly appreciated. Please
send them to the list.

Thanks,

-Ken
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------