perlin-network/life

SSA advantages

chinh7 opened this issue · 1 comments

I would like to understand the benefit of transpiling WASM to an SSA-based IR
Is this solely based on the fact that register-based VM has better performance compared to a stack-based? If so, is there any benchmark showing the execution speed gain is worth the compilation overhead?

I think it doesn't have a strong connection with the "register v.s. stack" VM arguments. I think it uses SSA simply because it's easier to write compiler optimizations, though IIRC currently there isn't any.