English | 中文
Personal technical learning repository: code snippets + technical survey documents.
These snippets are not simplified versions or toy demos — the goal is a rewrite that is equally complete yet more readable with cleaner coding conventions. Reading the code is enough to learn the core engineering decisions of the original library.
- Topic Selection: Pick core modules worth deep-diving into from well-known C++ projects
- Rewrite: Rewrite in pure STL, remove framework dependencies, preserve the full algorithm logic
- Documentation: Each module comes with a numerical walkthrough document (concrete numbers, hand-verifiable)
- Testing: Thorough unit tests + integration tests + concurrency tests
| Directory | Type | Topic | Description |
|---|---|---|---|
| brpc_lalb | Rewrite | Locality-Aware Load Balancing | Extracted from Apache brpc, Bazel, C++17 |
| concurrent_hashmap | Survey | C++ Concurrent HashMap | Industry solution comparison: from read wait-free + write shard-lock to fully lock-free |
| zenmux | Survey | ZenMux LLM API Provider | Pricing model explained (subscription Flow mechanism, PAYG, Claude API billing comparison) |
| ccuse | Tool | Claude Code Provider Switcher | 30-line shell function, zero-dependency instant provider switching, replaces cc-switch |
| claude | Tool | Claude Code Custom Skills | learn-project, cpp-style-check, dev-init, gcp, and other custom skills |