Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional motivation: efficient memory mapping #9

Closed
ratchetfreak opened this issue Apr 29, 2020 · 3 comments
Closed

Additional motivation: efficient memory mapping #9

ratchetfreak opened this issue Apr 29, 2020 · 3 comments

Comments

@ratchetfreak
Copy link

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.

@SamuraiCrow
Copy link

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.)

@dschuff
Copy link
Member

dschuff commented Jul 26, 2022

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)

@SamuraiCrow
Copy link

@dschuff Thanks for the links!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants