Skip to content

feat(runtime): Memory swapping#13591

Open
frau wants to merge 1 commit into
bytecodealliance:mainfrom
frau:memory-swap
Open

feat(runtime): Memory swapping#13591
frau wants to merge 1 commit into
bytecodealliance:mainfrom
frau:memory-swap

Conversation

@frau

@frau frau commented Jun 8, 2026

Copy link
Copy Markdown

Hot swap an existing Memory backing buffer with another. Requires the new memory to be shaped the same as the old.

Obviously this won't be safe for the semantics of a wasm module that isn't expecting it, but I'm writing a program which would benefit from hot-swapping specific linear memory banks in and out while retaining the same code module.

Hot swap an existing Memory backing buffer with another.
Requires the new memory to be shaped the same as the old.
@frau frau requested a review from a team as a code owner June 8, 2026 21:09
@frau frau requested review from dicej and removed request for a team June 8, 2026 21:09
@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant