-
Notifications
You must be signed in to change notification settings - Fork 458
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
[spec] Versioning of external standard dependencies #566
Comments
The EcmaScript standard used to use option (3) for Unicode, but switched to option (1) later. My memory of respective discussions is vague, and I couldn't find anything in the meeting notes. However, I inquired other TC39 members about their recollection. Allen Wirfs-Brock (editor of the ES6 spec) replied:
He also remarked
and pointed out that
The last point seems particularly noteworthy. |
Interesting. Is there a reference for this? |
See this thread for when ECMAScript made the reference undated. I'm not sure how important an undated reference is for IEEE 754; according to its website no working group meetings are planned after they published the 2008 standard (their second one). |
Here is the reference I found regarding Unicode's recommendations: http://www.unicode.org/versions/index.html#Citations The criteria are fairly vague. But I would interpret the recommendation to imply that a language standard like EcmaScript clearly falls into category (3), i.e., a completely unversioned reference is not actually appropriate. It's slightly less clear for Wasm, but even there (3) might be more fitting? |
@rossberg What's the difference you see between ECMAScript and WebAssembly here? That JS makes reference to the character classes in Unicode in a way that Wasm doesn't? |
@littledan, yes for example. Outside the text format, UTF-8 is really all that's relevant for Wasm, we don't even care what code points mean. For the text format, we care about a few individual characters (the ASCII subset). But both is probably enough to argue for category (3). But then, what would be an appropriate minimum version? |
IEEE 754 is active again; a new version is expected to be published in 2018, and there may be further versions in the future. Versions occasionally introduce new features that WebAssembly may decide to support (eg. |
CG meeting decided to float the Unicode reference and pin IEEE to 2008 and revisit when a new version comes out. That coincides with the status quo, so closing this issue. |
The Wasm core spec currenlty depends on two external standards: IEEE 754 and Unicode. Both continue to evolve, so the question is how the spec should reference them:
See this comment and surrounding discussion for a rough summary of the trade-offs.
The text was updated successfully, but these errors were encountered: