Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Additional motivation: efficient memory mapping #9

Closed

Description

@ratchetfreak

An application may want to map en external buffer and read/write to it directly.

A concrete example is mapping a webgl vertex buffer into a wasm module to have it filled out based by decoding a model file.

Activity

  1. SamuraiCrow commented on Jul 25, 2022

    @SamuraiCrow

    If a non-web encoding was able to mark a region as volitile, memory-mapped I/O based device drivers could be implemented in WebAssembly. (If this isn't currently possible at this late state of proposal, I'm likely to add this to a new proposal.)

  2. dschuff commented on Jul 26, 2022

    @dschuff
    Member

    This has been discussed in the context of a new proposal we call "memory control" (See https://github.com/WebAssembly/memory-control and the discussion proposing it)

  3. SamuraiCrow commented on Jul 26, 2022

    @SamuraiCrow

    @dschuff Thanks for the links!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions