Hacker News new | past | comments | ask | show | jobs | submit login

Both are targets for a general purpose programming language. As OP commented below, wasm is a stack machine while riscv is a register machine. It would surprise me if there is any wasm program for which there is not a semantically equivalent and faster riscv implementation.



Wasm has locals and block arguments, it's no more a stack machine than risc-v is a stack machine.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: