Re:Boris – A tiny REPL for PHP
by amasad on Sunday March 01, 2015 @01:53AM
(#9126310)
ah interesting, so run the expression in the worker and check the return code? But what if that expression partially ran and had side effects?
[ Parent
| on HN ]
exactly. side effects were definitely a problem, but it was an experiment and better than losing 20 prior commands!
I looked at his source and it's not clear to me how he's also not having the same problem; if the statement is run in a fork then how do you propagate the newly created resources back up to the master?
It's impressive though and works well.