erlang比go要成熟,其中一大原因就是拥有otp工程,进程的管理可以通过专门的行为
模式去处理,例如gen_server,里面包含的6个回调函数init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3模
erlang比go要成熟,其中一大原因就是拥有otp工程,进程的管理可以通过专门的行为
模式去处理,例如gen_server,里面包含的6个回调函数init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3模