News for hackers. Stuff that matters.
Re:IRB session to existing ruby process. by davidw on Wednesday January 25, 2012 @08:31AM (#3509626)
This is pretty cool. I like seeing 'cool hack' kinds of things submitted here.

Incidentally, this is something that Erlang can do pretty much out of the box.

Re:IRB session to existing ruby process. by irahul on Wednesday January 25, 2012 @11:32AM (#3510344)
Remote repl can be done in Python/Ruby in hackish ways. It's the transparent hot code swap which hasn't been done yet.

I haven't investigated it much, but Armin Ronacher(flask lead developer) has said reliable code reloading when a module changes is near about impossible, because there is no reliable way to figure out the dependencies. For the flask dev server, he defaulted to a clean restart.

From what little I have investigated, same holds for Ruby.

If attaching to a running process interests you, you will find these articles interesting:

http://weblog.jamisbuck.org/2006/9/25/gdb-wrapper-for-ruby

http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby...