Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm: Take advantage of Wasm 2.0 features #52456

Closed
johanbrandhorst opened this issue Apr 20, 2022 · 3 comments
Closed

wasm: Take advantage of Wasm 2.0 features #52456

johanbrandhorst opened this issue Apr 20, 2022 · 3 comments
Milestone

Comments

@johanbrandhorst
Copy link
Member

The WebAssembly Working Group of the World Wide Web Consortium (W3C) published a first draft of release 2.0 of the WebAssembly spec: https://webassembly.github.io/spec/core/. The new release contains some new features, some of which may be interesting to the Wasm architecture backend of the Go compiler. There is a summary of the new features available in the Change History section: https://webassembly.github.io/spec/core/appendix/changes.html#release-2-0.

I'm opening this issue to foster a discussion on what, if any, new features may be interesting to take advantage of and when, if ever, the Go Wasm backend should use these newer features.

@mdlayher mdlayher added the arch-wasm WebAssembly issues label Apr 20, 2022
@ianlancetaylor
Copy link
Member

CC @neelance

@ianlancetaylor ianlancetaylor added this to the Backlog milestone Apr 20, 2022
@beoran
Copy link

beoran commented Apr 22, 2022

Function types allow more than one result

This seems like something Go could use immediately to optimize funcs with multiple return values.

@neelance
Copy link
Member

Let's not open a new discussion here. This belongs to the existing discussion at #28360.

@golang golang locked and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants