Should we add our own wasmi_parse
crate to replace wasmparser
usage?
#1514
Labels
question
Further information is requested
Uh oh!
There was an error while loading. Please reload this page.
As the title suggests this is currently an unanswered question.
This issue is about the idea to add a custom Wasm parsing crate to the Wasmi workspace:
wasmi_parse
The
wasmi_parse
crate would replace today's Wasmi'swasmparser
uage.The main reason behind a custom
wasmi_parse
crate is that it seems that Wasmi's niche needs are somewhat unaligned with most other users ofwasmparser
. For example:wasmparser
user's use cases:wasmparser
'ssimd
feature to no longer be nearly as effective for compile time reduction.VisitOperator::simd_visitor
generically bytecodealliance/wasm-tools#2181wasmparser
: 15-30% performance regressions from v228 -> v229 bytecodealliance/wasm-tools#2180Advantages
wasmparser
crate deals with way more than what Wasmi needs, e.g. the component model and legacy features such as the legacy exception handling.Downsides
wasmparser
withwasmi_parse
being its own fork.wasmparser-nostd
and it was a mess to maintain it, however, unlikewasmi_parse
,wasmparser-nostd
was never meant to evolve away fromwasmparser
and be specific to Wasmi's needs.The text was updated successfully, but these errors were encountered: