search

Home  >  Q&A  >  body text

java - 游戏服务端一般是用什么开发的?学习游戏服务端开发之前需要哪些预备知识?

像腾讯的LOL,CF,DNF,王者荣耀之类的游戏服务端都是用什么开发的?

学习服务端开发之前都需要哪些预备知识?


好像找了一圈发现这方面资料很少啊,只知道一个minecraft是java开发的,但是听网上别人说java的gc在服务端承载人数非常大的时候会出现卡顿,游戏中即使一两秒卡顿也会影响体验,所以想问问像腾讯那些同时在线几百几千万的游戏服务端都是拿什么开发的?

巴扎黑巴扎黑2804 days ago710

reply all(6)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:50:27

    Domestic game server schools are very mixed
    Generally large manufacturers have project experience left over from the client game era, using C++
    Many small and medium-sized manufacturers use Java
    There are some web games in Guangdong that use Erlang
    Yunfeng advocates the use of C and Lua, some Many fans
    Others use node.js and go

    You mentioned that action or competitive games such as lol and cf generally use udp. Considering issues such as gc lag, such games are generally written in c/c++.

    If you want to engage in game server opening, you must have solid knowledge of the network. Knowledge of the Linux kernel is also very useful. Language is not very important, but if you want to enter a big company, you still need to have a solid C++ foundation.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:50:27

    Tencent is all C++流啦,用的是内部的框架,你得问IEGtalents from relevant departments

    For game background, you can follow Yunfeng’s blog. Yunfeng used to be the master of NetEase games, but what he advocates is C+Lua, but it doesn’t matter, the server has a lot of language-independent knowledge

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:50:27

    Many mobile game clients and servers are now developed using U3D and C#

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:50:27

    Many languages ​​can be used as server languages. Our company uses java

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 10:50:27

    1. Using Java to develop can already meet the needs of most web game servers, and the cost of Java is relatively low compared to C++. PHP sometimes has problems with links, and Java servers are better for sockets.
    2. It would be better to use asp.net and php to develop web pages.
    3. Computing efficiency: c++ > java > script, development time: c++ > java > c script
    Personally, I think java is the best if you are just getting started, and for large projects, use c++

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:50:27

    Large-scale games like this, such as LOL and DOTA2, are basically written based on C++

    reply
    0
  • Cancelreply