For open source projects, I recommend Chen Shuo’s muduo. The coding style is very good and it encapsulates some commonly used classes. Chen Shuo’s csdn blog has relevant introductions. https://github.com/chenshuo/muduo
I recommend two:
(1) The source code of Lua programming language (recommended by many domestic experts);
(2) Source code of Redis database.
Hope that helps.
Libevent is recommended.
I was learning Node.js during this period and happened to encounter this libevent, which uses an asynchronous method written in C/C++ to process HTTP POST.
Little Penguin Input Method
The simplest compiler written by an Amazon engineer
Douban FM server and client written by a big guy
Two recommended:
For open source projects, I recommend Chen Shuo’s muduo. The coding style is very good and it encapsulates some commonly used classes. Chen Shuo’s csdn blog has relevant introductions. https://github.com/chenshuo/muduo
https://github.com/yanyiwu/cppjieba
google protobuf ?
Borrow the building and ask for help.
Why not take a look at the STL source code, or boost.
Leveldb is recommended, simple and lightweight.
I recommend two:
(1) The source code of Lua programming language (recommended by many domestic experts);
(2) Source code of Redis database.
Hope that helps.
Libevent is recommended.
I was learning Node.js during this period and happened to encounter this libevent, which uses an asynchronous method written in C/C++ to process HTTP POST.