alexcrichton opened PR #9530 from alexcrichton:remove-table-plan to bytecodealliance:main:
In my quest to simplify memory configuration and how things work internally in Wasmtime one thing I've identified to accomplish is the removal of the
TablePlanandMemoryPlantypes. These introduce an abstraction layer between table/memory implementations andTunablesand personally I find it simpler to directly referenceTunablesand use that instead. The goal of this commit is to plumbTunablescloser to where it's directly read by removing the "indirection" through the*Plantypes.The
TablePlanandMemoryPlantypes are pervasively used throughout Wasmtime so instead of having one large commit delete everything this is instead a piecemeal approach to incrementally get towards the goal of removal. Here justTablePlanis removed andTunablesis plumbed in a few more places. I plan to also in the future removeTableStyleandMemoryStylein favor of directly readingTunablesbut that's left for a future commit. For nowTableStylepersists and its usage is a bit odd in isolation but I plan to follow this up with the removal ofTableStyle.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested cfallin for a review on PR #9530.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #9530.
alexcrichton requested elliottt for a review on PR #9530.
alexcrichton requested wasmtime-core-reviewers for a review on PR #9530.
alexcrichton updated PR #9530.
cfallin submitted PR review:
Looks great, thanks!
cfallin merged PR #9530.
Last updated: Dec 06 2025 at 06:05 UTC