-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
WebAssembly subfeatures #5687
Comments
Started a repository that one can use to quickly test out the different subfeatures: https://github.com/juj/wasm_feature_test . I'll try to complete to the full set soon. |
Very much related: #5200 |
webassembly.org/roadmap has been revamped to report detailed support data, which is now mostly complete for mainstream browsers. Should we replicate this data to caniuse.com? Pros:
Cons:
|
I think we should add the feature extensions, basically for the reasons given in the Pros section above. For future features, we can add data on first-introduced version of feature flags if we want; although I agree with the rationale given in your link, that developers should use bleeding-edge browsers to test flagged features. Also feature flags sometimes change (which would be onerous to track here), and there are also Origin Trials, which are arguably more relevant to track wrt browser versions than flags. But those considerations apply to all new browser features and are not unique to wasm, so we can do whatever the common practice on caniuse is. I agree that SharedArrayBuffer is tricky; this is true for both webassembly.org/features and caniuse. |
WebAssembly currently supports a growing number of subfeatures that is causing fragmentation in WebAssembly adoption. Simply listing a single WebAssembly supported Yes/No page is not enough.
The WebAssembly roadmap page at https://webassembly.org/roadmap/ lists the most recent state of each browser, but that is not really useful for anyone developing a site that needs to take marketshare statistics into account.
In WebAssembly/website#187 a question was raised to the WebAssembly CG if they would like to revise the website to be more precise caniuse.com-like in the data they provide, but the query did not gain traction, citing "it is too complex" to report the data like caniuse.com does.
Would it be possible for caniuse.com to do this?
The different subfeatures of WebAssembly so far are:
To get going, I gathered the results list for Firefox desktop:
Signext: Introduced in Firefox 57
Nontrapping FpToInt: Introduced in Firefox 60
Mutable Globals: Introduced in Firefox 61
Bulk memory: Introduced in Firefox 64
BigInt: Introduced in Firefox 74
Multivalue: Introduced in Firefox 77
Reference types: Introduced in Firefox 78
Wasm exceptions: No support as of Firefox 82
SIMD128: No support as of Firefox 82
Tail calls: No support as of Firefox 82
4GB Wasm Memory: No support as of Firefox 82
Do you think this kind of data could be integrated to caniuse.com?
The text was updated successfully, but these errors were encountered: