Re:WASIX, the Superset of WASI Supporting Threads, Processes...
by wbl on Tuesday May 30, 2023 @01:24PM
(#36127674)
Obviously Church Turing tells us all substrates are the same in power. So when we talk about running well on X we mean something else.
WASM is not like any CPU in common use today. It's a stack machine with structured control flow and strongly typed pointers. The instruction sequence is a graph. Memory is not a flat address space.
Re:WASIX, the Superset of WASI Supporting Threads, Processes...
by __s on Tuesday May 30, 2023 @01:33PM
(#36127803)
I wouldn't call it a stack machine. Constraints requiring static stack depth is designed to be converted to SSA which then gets efficient register allocation
WASM is not like any CPU in common use today. It's a stack machine with structured control flow and strongly typed pointers. The instruction sequence is a graph. Memory is not a flat address space.