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
TablePlan
andMemoryPlan
types. These introduce an abstraction layer between table/memory implementations andTunables
and personally I find it simpler to directly referenceTunables
and use that instead. The goal of this commit is to plumbTunables
closer to where it's directly read by removing the "indirection" through the*Plan
types.The
TablePlan
andMemoryPlan
types 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 justTablePlan
is removed andTunables
is plumbed in a few more places. I plan to also in the future removeTableStyle
andMemoryStyle
in favor of directly readingTunables
but that's left for a future commit. For nowTableStyle
persists 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: Nov 22 2024 at 16:03 UTC