-
Notifications
You must be signed in to change notification settings - Fork 59
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
Figuring out a proper JS fallback #175
Comments
AFAIK there's two major solutions here:
Neither of these solutions is robust (AFAIK) in the sense that I'd personally see |
There's also |
I'll do more concrete benchmark on the JavaScript interpreter inplementation. What would be acceptable performances? |
@xtuc It will vary from project to project. Some projects may be fine with a 100x slowdown, others obviously will find that unacceptable. |
I should be free to continue work on wasm2asm soon if that would be useful to the community. |
Alright, I've dug a bit further into this and this seems to be the current state:
|
@CryZe I should have mentioned it before sorry. I'm the author of webassemblyjs. First, could you please open an issue with the crash? Thanks. Currently the interpreter doesn't support the full instruction set and on my few microbenchmarks It's arround 50 times slower than native. On a side note, is that I'd like to take advantage of asm.js semantics in the interpreter. |
binaryen's With that in mind, would anyone like to write a section of the book about making JS fallback work via |
|
I feel like we should have some reasonable solution for supporting older browsers. So far I haven't really found a good solution so that's why I'm bringing it up here. Also once we have a good solution, we should probably document it.
The text was updated successfully, but these errors were encountered: