-
Notifications
You must be signed in to change notification settings - Fork 9
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
Microses: bitfields, so microses is subset of asm.js #3
Comments
Microses is not a syntactic subset of asm.js anyway. @metaweta , the question is, if we lift the bitfield restrictions, can legal asm.js easily be transformed into equivalent asm.js programs that are also microses programs? If not, what other restrictions would we need to lift? |
Will have to check, but here's the specification: |
Current support: |
I looked over the validation section, and as far as I can tell, if you lift the restriction on bitwise operators, the rest of asm.js code can be transformed into microses. In particular, asm.js is pretty much restricted to manipulating numbers and typed arrays, not strings or other kinds of objects. |
At https://github.com/Agoric/TinySES we list an additional reason for TinySES to include bitwise operators: the addition of BigInts to JS and TinySES. Leaving open here for now, but this issue should move to https://github.com/Agoric/TinySES |
No description provided.
The text was updated successfully, but these errors were encountered: