3 ms·
Yes, I think how Forth and PostScript does that is good, compared to the other ways (there are other good things about Forth, too). And then, in assembly langua
by zzo38computer 7y ago
Yes, I think how Forth and PostScript does that is good, compared to the other ways (there are other good things about Forth, too). And then, in assembly language, it may depend what instruction set is used and how call frames are organized; Glulx allows only one return value, and same with Z-machine code.
- DonHopkins 7y agoThere's a proposal to support multiple value returns in WebAssembly! Multi-Value All the Wasm (hacks.mozilla.org) https://news.ycombinator.com/item?id=21596965 https://news.ycombinator.com/item?id=21596965 https://hacks.mozilla.org/2019/11/multi-value-all-the-wasm/ https://hacks.mozilla.org/2019/11/multi-value-all-the-wasm/