Erlang-style Hot Code Swapping in Other Languages
January 29, 2010
One of my favorite features of Erlang, and one that is pretty unique, is the ability for the runtime to host two versions of the same code. This allows for hot code swapping. New clients of the code use the new version, while old clients continue to use the old version until they are finished. It’s really quite awesome.
This is of course possible in other languages, but it takes quite a lot of manual effort. I ran across this post about doing hot code swapping with Python.
These are the kind of features that you can take for granted in Erlang. They tend to be possible, but tedious, in other languages, which unfortunately means they are not often used.