16:31
<acr>
from MDN and spec it seems that array buffers should be transferable
16:32
<acr>
But in WebGPU, they aren't. I'm trying to understand why are these called array buffers then?
16:35
<bakkot>
Not all ArrayBuffers are transferable. They all have the method, but some host-provided ones throw if you call it. They behave the same as other ArrayBuffers in all other respects; it doesn't make sense to treat them as a different kind of object just because this method throws.
16:36
<bakkot>
This is in the spec; see https://tc39.es/ecma262/multipage/structured-data.html#sec-arraybuffercopyanddetach step 8.