比较经典的项目代码合集,已附上传送门,个人github还有一些学习代码,需要的话可去找一下,传送门:
https://github.com/lzb991435344
1.CJson,JsonCpp,TinyXml
json,xml解析
github传送门:
https://github.com/DaveGamble/cJSON
https://github.com/open-source-parsers/jsoncpp
https://github.com/leethomason/tinyxml2
2.RapidJson
鹅厂自研json解析,代码使用C++实现
github传送门:
https://github.com/Tencent/rapidjson
3.Libevent
基于reactor模式轻量级的开源高性能网络库
github传送门:
https://github.com/libevent/libevent
4.Redis
著名key-value存储系统
github传送门:
https://github.com/redis/redis
5.Nginx
Nginx (engine x) 是一个高性能的HTTP和反向代理web服务器
github传送门:
https://github.com/nginx/nginx
6.MyTinyStl
作者自己实现了大部分 STL 中的容器与函数,项目还在进行,代码容易看懂
github传送门:
https://github.com/Alinshans/MyTinySTL
7.Hustoj
华科开源OJ系统,基于LAMP实现,后端采用C编写,前端使用PHP语言
github传送门:
https://github.com/zhblue/hustoj
8.tinyhttp
不到500 行的超轻量型 Http Server
github传送门:
https://github.com/EZLippi/Tinyhttpd
9.skynet
云风,基于Actor模式的轻量级服务器
github传送门:
https://github.com/cloudwu/skynet
10.memcached
高性能,分布式内存对象缓存系统
github传送门:
https://github.com/memcached/memcached
操作系统相关
11.操作系统
(1)作者自己写的小型操作系统
(2)linux0.11版本,供研究使用
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/mengchaobbbigrui/Linux-0.11code