这是indexloc提供的服务,不要输入任何密码
Skip to content

List of issues to discuss with TC39, WASM, JS engine teams #747

@kainino0x

Description

@kainino0x
  • mmap'ing ArrayBuffers into WASM heap
  • read-only ArrayBuffers and write-only(?) ArrayBuffers (that work with mmap), for buffer mapping
  • ArrayBuffers (non-Shared, same thread) that point at non-disjoint ranges of the same backing data
  • ArrayBuffers whose base addresses aren't maximally-aligned (e.g. Float64Array not valid at offset 0, valid at offset 4)
    • No one has asked for this yet, probably not very important
  • "bitflags" equivalent functionality (e.g. Java-style EnumSet 🥺)
  • Ability to make ArrayBuffers non-transferrable EDIT: It turns out this already exists as [[ArrayBufferDetachKey]]
  • SharedObjectTable a bit like SharedArrayBuffer but instead of containing bytes, they contain references to shallow-cloneable objects ([Serializable] IDL interface objects). This should allow for example for GPUTextures created on one worker to be instantly visible to other workers.

Please add more issues on this thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions