3 ms·
The discussion on github also mentions Lua (https://github.com/WebAssembly/spec/pull/215#issuecomment-178309685 https://github.com/WebAssembly/spec/pull/215#iss
by junke 11y ago
The discussion on github also mentions Lua (https://github.com/WebAssembly/spec/pull/215#issuecomment-178309685 https://github.com/WebAssembly/spec/pull/215#issuecomment-17...), though it is true that this is coming from a Common Lisp developer.
From my point of view the feature is useful (efficient implementation without useless memory allocation) and the rebuttal looks slightly uninformed.
There are discussions about coroutines (https://github.com/WebAssembly/design/blob/master/FutureFeatures.md#coroutines https://github.com/WebAssembly/design/blob/master/FutureFeat...) and more generally about low-level capabilities (https://extensiblewebmanifesto.org/ https://extensiblewebmanifesto.org/).
Among those, we can see in the design document (https://github.com/WebAssembly/design/blob/4dec2849ad6d79fae63e7a8529da9358ac8cffe8/Rationale.md https://github.com/WebAssembly/design/blob/4dec2849ad6d79fae...) a "Multiple Return Values" section with a "TODO" placeholder text: it seems that WebAssembly people want to implement MRV.
- thinkpad20 11y agoGo has multiple return values; could this also benefit go? I'd bet that that would garner more calls for MRV support in wasm if so.