WebAssembly / memory-control

A proposal to introduce finer grained control of WebAssembly memory.
Other
21 stars 2 forks source link

Memory mapping: Using a single linear memory + requirements discussion #8

Closed dtig closed 1 month ago

dtig commented 9 months ago

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 to scope that for a potential post-MVP addition, and scope the MVP to only work with the single linear memory. The main reasons for this are:

Another interesting point is that while memcpys are expensive, and sometimes unnecessary they're usually not the most expensive operation in the pipeline. Are there performance or ergonomic requirements this proposal should define upfront?

lygstate commented 2 months ago

ping the memory-control

dtig commented 1 month ago

Closing as the overview now reflects the updated scope/direction https://github.com/WebAssembly/memory-control/pull/10.