Giter VIP home page Giter VIP logo

toolbox's Introduction

toolbox

游戏服务器相关的工具

1. 编译

linux/macos 系统:
debug版本: sh build_debug.sh release版本: sh build_release.sh

windows 系统: 在vs2019开始界面选择右侧下面的小字"继续但无需代码",然后选择文件-打开-cmake,选择 Cmakelists.txt vs会自动展开cmake项目,可以直接编译运行.

2.目前实现的功能

2.1 网络库

网络库README及测试数据 -->跳转<--

基于TCP+epoll的Linux网络库[reactor模式]
基于UDP+epoll的Linux网络库[reactor模式]
基于KCP+epoll的Linux网络库[reactor模式]
基于TCP+io_uring的Linux网络库[proactor模式]
基于TCP+iocp的windows网络库[proactor模式]
基于TCP+kqueue的MacOS网络库[reactor模式]
epoll io_uring iocp kqueue
TCP
UDP
KCP

2.2 工具

  1. 基于五层时间轮算法的定时器
  2. 跳表实现
  3. C++协程
  4. 环形缓冲区
  5. 内存池
  6. 对象池
  7. 打印虚函数工具
  8. 两种读写锁
  9. 线程池
  10. LRU
  11. 内存泄漏检测函数
  12. 统计CPU&&内存信息
  13. 字符串处理工具
  14. 智能指针

3. 下一步开发计划

  1. linux下的异步io机制:io_uring.

  2. 网络库中补充重连机制.

    // TODO 扩充工具库


路漫漫其修远兮,吾将上下而求索.

toolbox's People

Contributors

liyakai avatar

Stargazers

CPP—XCZ avatar  avatar zhang shiping avatar  avatar listenwind avatar  avatar iteevo avatar  avatar  avatar  avatar fortlp avatar  avatar xjp avatar jerry avatar  avatar illidan_reid avatar starnightcyber avatar 殷勇 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.