-
Notifications
You must be signed in to change notification settings - Fork 702
Description
(I realize this may be too early to discuss at this point, but can't see harm in logging the issue.)
We are considering allowing modules express dependencies on platform features (see feature test).
In one extreme, if the features are too fine grained, and browsers (or more generally, WebAssembly targets) support different mix&matches of them, we end up with a fragmented ecosystem.
In another extreme, features are coarse grained and effectivelly match the standard's (WebAssembly) versions, avoiding extra fragmentation. In this case, it may be simpler for developers to have their modules express platform dependencies as "at least version x" rather than the current, more flexible, proposal.
SIMD suggests a mix may be appropriate - have version granularity with a very small set of optional, queryable capabilities.
What concrete scenarios do we have/envision that would help guide the discussion?