
库
库合并
bash
mkdir /tmp/abseil
cd /tmp/abseil
ls /home/lib64/libabsl_*.a | xargs -n1 ar x # 批量解压
ar cru libabseil.a *.o # 打包成单一的库
ranlib libabseil.a
cp libabseil.a /home/lib64/
cpp 库待分类
STL
- homepage: cppreference.com/w/cpp/standard_library
Boost
- Intro: Boost provides free peer-reviewed portable C++ source libraries.
- homepage: boost.org
- guide: boost.org/doc
ZeroMQ
- Intro: ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a concurrency framework. It gives you sockets that carry atomic messages across various transports like in-process, inter-process, TCP, and multicast. You can connect sockets N-to-N with patterns like fan-out, pub-sub, task distribution, and request-reply. It's fast enough to be the fabric for clustered products. Its asynchronous I/O model gives you scalable multicore applications, built as asynchronous message-processing tasks. It has a score of language APIs and runs on most operating systems.
- Repo: zeromq/cppzmq
- homepage: org
- guide: zeromq.org
libevent
- Intro: The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts.
- Repo: libevent/libevent
- homepage: org
- guide: zeromq.org
libuv
- Intro: libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it's also used by Luvit, Julia, uvloop, and others.
- Repo: libuv/libuv
- homepage: org
- guide: libuv.org/en/v1
LuaJIT
- Intro: LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
- Repo: LuaJIT/LuaJIT
- homepage: org
protobuf
- Intro: Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
- Repo: protocolbuffers/protobuf
- homepage: dev
- guide: dev/getting-started/cpptutorial
- CPP Install: protocolbuffers/protobuf/blob/main/src/README.md
RapidJSON
- Intro: A fast JSON parser/generator for C++ with both SAX/DOM style API
- Repo: Tencent/rapidjson/
- homepage: org