Skip to content
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

Open
jmtame opened this issue Nov 18, 2011 · 4 comments
Open

Ruby 1.9.3 support #3

jmtame opened this issue Nov 18, 2011 · 4 comments

Comments

@jmtame
Copy link

jmtame commented Nov 18, 2011

Would be great to see this updated to support Ruby 1.9.3 =]

@max99x
Copy link
Contributor

max99x commented Dec 17, 2011

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.

@malachaifrazier
Copy link

Has some implementation of Node.js been taken into consideration?

@nihonjinrxs
Copy link

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?

@max99x
Copy link
Contributor

max99x commented Jul 28, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants