-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ruby 1.9.3 support #3
Comments
Comment copied from original issue on repl.it: When I looked into it, Ruby 1.9 was too reliant on threads (which are not supported in the browser). We'd need to cut all the threading out manually for it to be viable. There are no immediate plans to support Ruby 1.9, but we'll be happy to include it if someone contributes an implementation. |
Has some implementation of Node.js been taken into consideration? |
Now that web workers are more available in browser implementations, could you possibly do "threads" via web workers, or do web worker limitations prevent that being feasible? |
Web workers do not support sleep()/await() or synchronous messages, so they can't be used to simulate arbitrary threads. However, it's technically possible to emulate them on a single thread with some effort. It's been a while since I looked at Emscripten, but it's possible that it supports that emulation by now. |
Would be great to see this updated to support Ruby 1.9.3 =]
The text was updated successfully, but these errors were encountered: