Re:Runtime code modification. Erlang? No, Python
by drdaeman on Saturday August 20, 2011 @05:56AM
(#2906285)
Sorry, but to my understanding that's not even close to Erlang's code hot-swapping.
In Erlang one could easily update any module, and re-importing modules is quite complicated in Python. Update will be seamless, too - old code will be running its last reductions (so already connected clients won't experience downtime) while new messages will be processed with a new code.
Surely, it is possible to achieve the same in Python, but that'd require a lot more code than monkey-patching several values.
In Erlang one could easily update any module, and re-importing modules is quite complicated in Python. Update will be seamless, too - old code will be running its last reductions (so already connected clients won't experience downtime) while new messages will be processed with a new code.
Surely, it is possible to achieve the same in Python, but that'd require a lot more code than monkey-patching several values.