Re:Wasm3 – A high performance WebAssembly interpreter in C
by vshymanskyy on Monday January 13, 2020 @07:38AM
(#22033879)
It's not that bad even in debug mode (or without TCO). Just not optimal. Also, there is a way to rework this part, so it does not rely on compiler TCO.
> Because operations end with a call to the next function, the C compiler will tail-call optimize most operations.
It appears that this relies on tail-call optimization to avoid overflowing the stack. Unfortunately this means you probably can't run it in debug mode.