Home > Back-end >  Please recommend C game server development related open source framework! ~ ~ ~ ~
Please recommend C game server development related open source framework! ~ ~ ~ ~

Time:11-26

Until the younger brother to do the game server development, use Java development game server, feel to do instant games Java is not feasible, began to learn c + +, is the pursuit of better performance;
Results often find it difficult to find an open source c + + corresponding framework, commonly used to recommend: high-performance)
One, open source database connection pool, similar to the Java druid, etc.;
Second, the persistence layer of the open source framework, is similar to Java MyBatis;
Three, open source caching framework, similar to the Java Google Guava Cache, etc.;
Four, open source web framework, similar to Java Netty;
Five, of the type of access Redis response of the open source framework, is similar to Java Lettuce;
Six, open source HttpServer HttpClient framework, it is better to support the response type of programming;
Seven, fast Json serialization framework, similar to the Java Jackson;
Eight, concurrency library, all kinds of data structures, such as queue, Map, Buffer pool, etc., similar to the Java Concurrent bag and so on, also didn't go to learn c + + Concurrent programming, first consult)

Thirst, difficult to fall asleep, to send a post for help! ~ ~ ~
The great spirit show genuflect is begged! ~ ~ ~


Points, the game server development need to know also ask related to the great god give directions! ~ ~ ~ ~


CodePudding user response:

Qt framework includes most of what you say, such as a database link, network framework, json processing, all kinds of tool library, in a slightly less than performance, and you can use Qt to do completely, needs high performance part of the call of the boost library to deal with

CodePudding user response:


C + + is yourself, db mysql library whole, network yourself jsoncpp embedded lua script

CodePudding user response:

POCO, can reference

CodePudding user response:

C + + are generally cooperate lua added or other scripting language or database separate estimates that don't have a complete set of, have also won't open source, is unlikely to fully meet your request, now that the pursuit of the Java standard and why using c + +, since want to use c + + you have to accept the defects of c + + is basically to write their own,
  • Related