Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chenyahui/annotatedcode

知名开源代码库的注释版:C++、Golang等
https://github.com/chenyahui/annotatedcode

Last synced: 3 months ago
JSON representation

知名开源代码库的注释版:C++、Golang等

Awesome Lists containing this project

README

        

# 知名开源项目 - 注释版

[![](https://badgen.net/badge/icon/Blog?icon=rss&label)](https://www.cyhone.com/)

本仓库是个人在阅读开源代码时,对代码所作的注释和部分讲解。

# C/C++
| 项目名称 | 关键词 | 注释版 | 原地址 | 博客 |
| ------| ------ | ------ | ------ | ------ |
| libco | 协程 |[注释版](https://github.com/chenyahui/annotated_code/tree/master/libco)| [原地址](https://github.com/Tencent/libco)|[微信libco协程库源码分析](http://www.cyhone.com/articles/analysis-of-libco/) |
| coroutine | 协程 |[注释版](https://github.com/chenyahui/annotated_code/tree/master/coroutine)|[原地址](https://github.com/cloudwu/coroutine)| [云风coroutine协程库源码分析](http://www.cyhone.com/articles/analysis-of-cloudwu-coroutine/) |
| libevent | 网络库/reactor |[注释版](https://github.com/chenyahui/annotated_code/tree/master/libevent)| [原地址](https://github.com/libevent/libevent)| 暂无 |
| sofa-pbrpc | RPC |[注释版](https://github.com/chenyahui/annotated_code/tree/master/sofa-pbrpc)| [原地址](https://github.com/baidu/sofa-pbrpc)|暂无 |
| muduo | 网络库/reactor |[注释版](https://github.com/chenyahui/annotated_code/tree/master/muduo)|[原地址](https://github.com/chenshuo/muduo) |[muduo源码剖析](http://www.cyhone.com/articles/analysis-of-muduo/) |
| Redis | Redis |[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/redis-5.0)|[原地址](https://github.com/antirez/redis)|[Redis事件循环器(AE)实现剖析](https://www.cyhone.com/articles/analysis-of-redis-ae/)|

# Golang
| 项目名称 | 关键词 | 注释版 | 原地址 | 博客 |
| ------| ------ | ------ | ------ | ------ |
| go/x/time/rate| 限流器 |[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/go/x/time)|[原地址](https://github.com/golang/time)|[Golang限流器time/rate实现剖析](https://www.cyhone.com/articles/analisys-of-golang-rate/)|
|ratelimit|限流器|[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/uber-go/ratelimit)|[原地址](https://github.com/uber-go/ratelimit)|[uber-go 漏桶限流器使用与原理分析](https://www.cyhone.com/articles/analysis-of-uber-go-ratelimit/)|
|groupcache|缓存/一致性Hash|[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/groupcache)| [原地址](https://github.com/golang/groupcache)|[一致性 Hash 原理及 GroupCache 源码分析](https://www.cyhone.com/articles/consistent-hash-of-groupcache/)|
|facebookgo/inject|依赖注入|[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/inject)|[原地址](github.com/facebookgo/inject)|[Facebook 在 Golang 依赖注入的实现](https://www.cyhone.com/articles/facebookgo-inject/)|

# Go源码及标准库
- [Golang sync.Cond 条件变量源码分析](https://www.cyhone.com/articles/golang-sync-cond/)
- [Golang WaitGroup 原理深度剖析](https://www.cyhone.com/articles/golang-waitgroup/)
- [Golang 定时器底层实现深度剖析](https://www.cyhone.com/articles/analysis-of-golang-timer/)
- [Golang channel 源码深度剖析](https://www.cyhone.com/articles/analysis-of-golang-channel/)
- [Golang 标准库限流器 time/rate 实现剖析](https://www.cyhone.com/articles/analisys-of-golang-rate/)

# 更多文章
更多文章欢迎关注博客**编程沉思录**: [cyhone.com](https://www.cyhone.com)

![xxx](https://www.cyhone.com/img/wechat_subscriber_search.png)