memory-control icon indicating copy to clipboard operation
memory-control copied to clipboard

A proposal to introduce finer grained control of WebAssembly memory.

Results 18 memory-control issues
Sort by recently updated
recently updated
newest added

We've previously considered zero filling on discard, and unmap, but there are several reasons this doesn't seem like the right option. 1. Memory accesses to discarded pages will recommit the...

This PR is a first step at refactoring the overview document. - Clearly define the current scope of the proposal - Factor the overview better, and add a first sketch...

https://github.com/WebAssembly/wasi-webgpu

The initial discussions of this proposal, we had considered using a secondary memory for a mappable memory, but after some initial investigations into potential users of this proposal, I'd like...

Here's the idea: instead of doing everything dynamically or just everything statically, it could be done somewhere in the middle via a special type of memory called a mappable memory....

Hi! I think it would be better to put the `memory.discard` instruction into a separate proposal. Grouping this instruction with other features is not strictly necessary and slows down the...

This issue tracks discussion of the **`memory.discard`** sub-proposal. This proposal is one possible component of the eventual Memory Control MVP. Please make sure to read the [full sub-proposal document](https://github.com/WebAssembly/memory-control/blob/main/proposals/memory-control/discard.md). This...

For security purposes it would also be interesting to add `mlock`. I am not versed in the WASM spec and I am not sure if this should be added here...

I would love multiple memories & memory mapping. But I'm unsure if this proposal could cover my use cases. For example, in some of my programs, like in this library,...

Refs have a similar issue to linear memory: there's a non-freeable linear memory and there's a WIP GC proposal that entirely offloads the memory management to the runtime. Where this...