Closed ashtonmeuser closed 1 year ago
What can I do to review this?
Hey there! Thanks for the offer to help! This PR will be on ice for just a little longer while I 1) backport to the Godot 3.x branch and 2) update docs.
I should be able to find some time this weekend. This is a big one that I'm quite excited for 🙂
Horray
Breaking change in the following ways.
memory
property instead ofstream
memory
dictionaryAdds the following behaviour.
WasmMemory.new()
memory.grow()
memory.inspect()
This PR allows for importing external memory. This allows multiple modules to share memory space. External memory can be created with
WasmMemory.new()
and grown withmemory.grow(N_PAGES)
whereN_PAGES
represents the number of pages to grow the memory space by. Per Wasm specs, memory pages are 65535 bytes.External memory is provided to a module as an import as follows.