3 ms·
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.
by davidw 15y ago
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.
- irahul 15y agoRemote 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/25/gdb-wrapper-for-ruby http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby-process http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby...