Re:Unfork: The Inverse of Fork(2)
by thomasballinger on Saturday May 29, 2021 @03:56PM
(#27327824)
Here's another implementation of what's described above, it forks on each invocation of readline to provide undo for interactive interpreters. https://github.com/thomasballinger/rlundo
OK I love this, and not just because of the calls to system(nc) :-)
Your code made me think, maybe I'm tying myself into knots... But my thing is making hundred thousands of checkpoints so I'd have to have as many forks as savespoints. No way to coalesce parents, maybe reparenting could work there...
Thanks for the timetravelpdb link!