Robin Freyler
Robin Freyler
The newer `wasmi` version that is currently supported has a way to configure the initial and maximum value stack height as well as the maximum recursion depth using the `Config`...
While `rustfmt` provides the feature to check for this we cannot easily copy what we do at the ink! project because ink! uses _only_ the APACHE v2.0 license whereas `wasmi`...
Found the architecture description of the Wasmtime WAMR (Wasm Micro Runtime) interpreter and its optimizations. It also has fused instructions although a bit different that stated in the first post....
I have conducted some research on instruction dispatch here: https://github.com/Robbepop/interpreter-dispatch-research/tree/main/src/fused So far it is extremely frustrating (as usual with research) since the most efficient technique seems to be the goo'old...
This issue got superseeded by https://github.com/paritytech/wasmi/issues/361 since https://github.com/paritytech/wasmi/issues/361 already indirectly fuses Wasm instructions by translating them to register machine bytecode. Also https://github.com/paritytech/wasmi/issues/361 has some neat optimizations during translation from Wasm...
For me a `no_std` `wasmparser` would also be nice since I require Wasm compilation support without WASI. So I gave it a try today myself and have to conclude that...
@ethindp FYI I published a `no_std` compatible `wasmparser` crate here: https://crates.io/crates/wasmparser-nostd It also switches out `Hash{Map,Set}` with `BTree{Map,Set}` internally so that the implementation is not attackable in `no_std` environment. Enable...
I think we can close this PR. - It is outdated. - We already have an open issue that informs people about `no_std` support in `wasmparser` et. al. - The...
@tomaka FYI I published a `no_std` compatible `wasmparser` crate here: https://crates.io/crates/wasmparser-nostd (in case you still need this) It also switches out `Hash{Map,Set}` with `BTree{Map,Set}` internally so that the implementation is...
I think we can close this PR. - It is outdated. - We already have an open issue that informs people about `no_std` support in `wasmparser` et. al. - The...