@jarkko you would have to make assumptions about target register capabilities.. there goes your portability ? though they did make dalvik work so 🤷♀️ my beef with wasm is the lowest common denominator stuff that gets often done over
@jarkko so dalvik got it to work with infinite-register machine so be damned with performance if it was less (slides 35, 36) http://www.kandroid.org/board/data/board/AndroidBeginner/file_in_body/1/2008-05-29-Presentation-Of-Dalvik-VM-Internals.pdf and https://markfaction.wordpress.com/2012/07/15/stack-based-vs-register-based-virtual-machine-architecture-and-the-dalvik-vm/
@jarkko Also register liveness.. http://troubles.md/wasm-is-not-a-stack-machine/