boa
boa copied to clipboard
Implement `SharedArrayBuffer` built-in object
Additional to the implementation of the SharedArrayBuffer
built-in object, the corresponding uses in TypedArray
should be implemented.
ECMASCript feature
The SharedArrayBuffer
object is used to represent a generic, fixed-length raw binary data buffer, similar to the ArrayBuffer
object, but in a way that they can be used to create views on shared memory. Unlike an ArrayBuffer
, a SharedArrayBuffer
cannot become detached.
Blocked until we implement Agents
(reason: CreateSharedByteDataBlock
) which are not trivial because we would need to first implement Realm
s and ExecutionContext
s
Blocked until we implement
Agents
(reason:CreateSharedByteDataBlock
) which are not trivial because we would need to first implementRealm
s andExecutionContext
s
Should we have an issue for implementing an Agent
?
Should we have an issue for implementing an
Agent
?
We should instead make a project, I think, because agents depend on execution contexts which depend on realms which depend on refactoring the Context
type
Uh so I reevaluated this and it should be fine to treat Context
as our agent. Anyways, this is not blocked on that, but the implementation is a bit complex because of overlapping atomics of different sizes, so I'll unblock this but mark it as hard.
Implemented in #3384