Live Code Update in Erlang

Aiur · Zellux at 
http://bc.tech.coop/blog/070713.htmlJoe Armstrong 的原话 Live code upgrading is one of the things Erlang was designed for.一个最简单的例子 loop(Fun, State) receive {From, {rpc, Tag, Q}} -> {Reply, State1} = Fun(Q, State), From ! {Tag, Reply}, loop(Fun, State……