News for hackers. Stuff that matters.
Re:Wasm3 – A high performance WebAssembly interpreter in C by haberman on Monday January 13, 2020 @04:56AM (#22033147)
These are impressive performance numbers.

> 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.

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.
Re:Wasm3 – A high performance WebAssembly interpreter in C by haberman on Monday January 13, 2020 @01:51PM (#22037339)
If the jump to the next opcode is a tail call, wouldn't an arbitrarily long sequence of instructions take arbitrarily much stack space?