Coder Social home page Coder Social logo

mimi_muduo's Introduction

mimi_muduo

项目简介

基于C++11实现muduo网络库的核心功能:TcpServer,在使用方面与muduo基本一致。

多线程模型与muduo网络库一致。

使用C++11的新语法:智能指针、function函数对象、lambda表达式、bind绑定器、并发库(thread , atomic,mutex,condition_variable )等。

整个项目采用cmake来进行编译。

使用

项目附带了一个示例:echo回显服务器

cd mymuduo
./autobuild.sh
cd example
make
./echo

待改进的部分

  1. 只实现了epoll这一个IO-Multiplexing,没有实现poll/select。

  2. 日志模块中使用printf进行输出,printf线程安全,但效率不高。

  3. 只实现了TcpServer部分,暂时没有做TcpClient和TimerQueue部分。

mimi_muduo's People

Contributors

hubgeter avatar

Stargazers

XingFang avatar SkyWorkAIGC avatar guanwen avatar  avatar  avatar xixi avatar Inling Whale avatar bigchange01 avatar Tsung-Wei Huang avatar 程序员超哥 avatar wjoj avatar pumelo avatar  avatar  avatar GoodCupTo avatar anmi1990 avatar anni19857 avatar Frank avatar 厦门飞骥科技有限公司 avatar tadyi avatar  avatar killeropp avatar zhanghao5683934 avatar TellMeWhy1122 avatar  avatar Canna Vandigam  Sanmalino avatar whfay avatar ci avatar  avatar 呵呵 avatar Tingyour  avatar hollowgourd avatar Mad Dev avatar zhangss avatar idou85 avatar  avatar  avatar 计算机毕业设计 avatar Tony Peakman avatar NiltokK@Bio avatar 厦门飞骥科技有限公司 avatar javaPlayer avatar Joe avatar a7 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.