News for hackers. Stuff that matters.
Re:Wasm3 – A high performance WebAssembly interpreter in C by jashmatthews on Monday January 13, 2020 @10:59AM (#22035541)
I could be completely wrong but it looks like what this does is more like stack-caching. One operand, if it's the result of the last instruction, should already be in "virtual r0" which is already in a register. For the other operand of the opcode, it's an infinite set of "registers" at an offset from the stack pointer: https://github.com/wasm3/wasm3/tree/b1462d450ca367e39e4b2eb4...
Re:Wasm3 – A high performance WebAssembly interpreter in C by tom_mellior on Monday January 13, 2020 @06:02PM (#22039723)
You're right. This doesn't use a register machine in the usual sense of the word. It's kind of the software analog to accumulator machines.