-
Notifications
You must be signed in to change notification settings - Fork 63
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
Post-MVP feature requests #452
Comments
You meant October 12? :) Many of those are already listed in the Post-MVP doc in some form, I'll add the others.
I don't remember this one. What does it mean exactly? |
With @chambart we're going to present our freezable/sealable proposal at the next CG meeting. It allows to have mutable and/or nullable globals/values only during initialization phase and they become immutable and/or non-nullable after this.
It may be one of the things we are proposing. |
Another post-MVP feature to consider would be a way to compare Then I could do speculative inlining of |
I agree that this would be useful to have. Implementation perspective: if we expect that repeated creations of funcrefs for the same function index have distinct identity (in other words, that |
One of the known problems with function identity is that it invalidates optimisations like specialisation or any code transformation duplicating/merging function definitions that are referenced. |
Previous discussion on function comparisons: #239 , some use cases and data there from a year ago. Overall I think this can help in the toolchain, as @fitzgen said, but I also agree with @rossberg that the downsides need to be carefully weighed here. Another thing to consider is that if VMs inline at runtime then this probably becomes less important, and for that reason I don't consider this high priority personally. |
FWIW, not all engines / Wasm environments have (or will ever have) JIT capabilities. |
These are the feature requests that came up at the subgroup meeting on October 3, 2023:
(array i8)
#395The text was updated successfully, but these errors were encountered: