Why is Erlang said to be more suited for server side programming in webgames than Java and C++?

后端 未结 3 1596
梦谈多话
梦谈多话 2021-02-02 09:25

I don\'t really understand, how can Erlang be more efficient than C++?

3条回答
  •  星月不相逢
    2021-02-02 09:40

    It is not about efficiency when Erlang is promoted as better than C. It's about error handling and concurrency. A server written in Erlang using proper OTP principles will automatically have excellent ways of recovering from errors.

    You could say that Erlang is more efficient for the programmer to write a server application. And when it is running it will be more stable.

提交回复
热议问题