Re:Wasm3 – A high performance WebAssembly interpreter in C
by saagarjha on Monday January 13, 2020 @06:26AM
(#22033494)
Yeah, threaded interpretation is nothing new. Notably, Forth compilers have often used it; the iSH x86 emulator (https://github.com/tbodt/ish) is a more recent example of this technique.
Re:Wasm3 – A high performance WebAssembly interpreter in C
by vshymanskyy on Monday January 13, 2020 @07:53AM
(#22033980)
It's not only the "threaded code" approach, that makes Wasm3 so fast. In fact, Intel's WAMR also utilizes this method, yet is 30 times slower..
Regardless, kudos to the authors and nice to see a fast wasm interpreter done well.
1: http://www.emulators.com/docs/nx25_nostradamus.htm