WebAssembly Is Not A Stack Machine
WebAssembly code consists of sequences of instructions. Its computational model is based on a stack machine in that instructions manipulate values on an implicit operand stack, consuming (popping) argument values and producing or returning (pushing) result values.<p><a href="https://webassembly.github.io/spec/core/syntax/instructions.html" rel="nofollow">https://webassembly.github.io/spec/core/syntax/instructions....</a><p><pre><code>  (module
    (import "console" "log" (func $log (param i32)))
    (func $main
      ;; load `10` and `3` onto the stack
      i32.const 10
      i32.const 3

      i32.add ;; add up both numbers
      call $log ;; log the result
    )
    (start $main)
  )
</code></pre>
<a href="https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Numeric/Addition" rel="nofollow">https://developer.mozilla.org/en-US/docs/WebAssembly/Referen...</a><p>Looks pretty stacky to me.