Javascript is not enabled. This site can still works but it'll be more interactive when javascript is enabled.
loading...
Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
thomasmg
3 hours ago
|
on: WASM is not quite a stack machine
You could use "local.tee". It is kind of is "store" + "duplicate".
reply
asibahi
3 hours ago
|
parent
`local.tee` doesn't duplicate. it just doesn't remove the value from the stack. (so it is "just" `local.set` followed by `local.get`)
reply
loading story #47932781