Hey, I made CoderPad. I'm looking at replacements for emscripted-ruby currently. Interesting candidates currently include doing it all server side, and using mruby compiled via emscripten. Unfortunately mruby's greatest current shortfall is lack of `require` support, which may or may not be a dealbreaker. What do you think?
I think the emscripten threads problem will eventually get fixed. In the mean time, I don't think there's a huge problem with using 1.8.7, but you might be able to improve it using the backports gem [1].
I've thought about it. The daunting bits are the trickiness around how long the session should live. You'd like the repl's variables to persist between commands, etc, but at the same time letting an arbitrary code session live for a long time on your server is probably not the safest thing. If you have any resources on the topic, I would love to look at them.