YC Yc.W home Systems · C++ · AI Infrastructure

C++ Articles

63 articles


C & C++ · curated-v1

BehaviorTree.CPP 工程指南:从执行模型到仿真系统

Curated guide
把 BehaviorTree.CPP 的决策逻辑、执行生命周期、异步节点、仿真边界和性能测量串成一条可复用的 C++ 工程路径。
C & C++ · curated-v1

现代 C++ 并发与生命周期:shared_ptr、锁、条件变量与线程池

Curated guide
以所有权和关闭协议为主线,整理智能指针、互斥锁、条件变量、线程池和内存错误排查中的可复用实践。
Systems · curated-v1

Linux ELF 动态链接与 C++ 部署排障:RPATH、SONAME、ldconfig 与符号冲突

Curated guide
从可执行文件、共享库和符号解析出发,整理 Linux 部署中路径、版本、搜索顺序和命名空间冲突的定位方法。
Developer Tools · curated-v1

现代 CMake 工程化:Targets、依赖发现、安装与 CPack

Curated guide
把零散的 CMake 记录整理成以 target 为中心、可安装、可测试、可打包的现代 C/C++ 构建流程。
Computer Science · curated-v1

设计模式实践指南:按变化点选择,而不是按名字套用

Curated guide
把创建型、结构型和行为型模式整理成变化点地图,帮助 C++ 后端和架构代码做出更清晰的取舍。
Computer Science · curated-v1

数据结构与算法复习路线:从线性表到图与工程实现

Curated guide
按知识依赖和练习目标重新组织 408 数据结构笔记,覆盖复杂度、线性表、树、图、排序、查找以及 C++ 实现中的常见错误。
C & C++ · curated-v1

从能编译到可维护:C++ 后端工程知识地图

Curated guide
把构建、内存、并发、调试和性能分析串成一条可执行的学习路径,适合作为 C++ 后端项目的入门与复查清单。
C & C++

银河麒麟 V10 SP1 内网离线 C/C++ 开发环境构建指南

Guide to building an offline C/C++ development environment on air-gapped Kylin V10 SP1 servers, covering dependency analysis, local APT repositories, deployment, and automation.
Programming

Protocol Buffers 完全指南:从原理到生产实践

深入理解 Protocol Buffers 的工作原理、编码机制、C++/Go/Python 实战,以及在 gRPC 微服务架构中的最佳实践。从零开始掌握这个 Google 级别的序列化方案。
C & C++

BehaviorTree.CPP Performance Optimization: From Bottlenecks to Blazing Fast

Practical guide to optimizing BehaviorTree.CPP performance, covering profiling, node overhead reduction, memory layout, and scheduling strategies for large real-time behavior trees.
C & C++

C++ Performance Analysis Guide / C++ 性能分析指南

Survey of C++ performance analysis and optimization tools, from time and perf to VTune, valgrind, sanitizers, and CPU pinning, with practical usage examples.
C & C++

BehaviorTree.CPP Manual Notes

Hands-on notes on BehaviorTree.CPP and Groot2, covering tree design, ZeroMQ-based remote tree communication, and practical debugging workflows.
Systems

KylinV10 加载动态库运行异常:全局函数重名或未使用命名空间

Programming

C++ ThreadPool: BS::thread_pool 单例

Singleton pattern for BS::thread_pool that provides a global thread pool instance for parallel task submission without repeated pool construction.
Programming

C++-regex

Systems

Ubuntu 源码安装 GCC 7.5.0

Build GCC 7.5.0 from source on Ubuntu for legacy project compatibility, covering prerequisite packages, mirror selection, and multi-stage build.
Programming

C++-字符串分割

Programming

C++-chrono to tm (format time)

Programming

C++ Snowflake

Programming

OpenSource-JSON for Modern C++ v3.10.5

Computer Science

Book-C++性能优化指南

C & C++

C++ 生成 UML 类图

Computer Science

Book-Effective C++ 改善程序与设计的55个具体做法

C & C++

C++ mutex (待验证)

Developer Tools

Static Analyzers-C++

C & C++

C++-double free or corruption(fasttop)

C & C++

C++-Class-Util & Helper

Computer Science

Book-深度探索C++对象模型

C & C++

C++-const成员函数

C & C++

C++ shared_ptr

C & C++

C++ typeid 操作符

Computer Science

C++ Primer Plus (第六版) 中文版(部分章节)

C & C++

C++ std::this_thread::get_id() 获取线程 ID

C & C++

C++-#pragma once

C & C++

C++ 改变终端输出不同颜色的字体 (Linux)

C & C++

C++ 标准异常 exception

C & C++

C++-template class-模板类

Programming

C++-Linux-统计一个文件夹占据空间大小

C & C++

C++ unique_lock 与 lock_guard 区别

C & C++

C++-Error:invalid new-expression of abstract class type

Programming

C++-Linux-利用condition_variable封装event

Programming

C++-Linux-获取时间time()/localtime()/gettimeofday()

Programming

C++-fstream-输出到文件

C & C++

C++ C11 chrono 获取当前时间与阶段时间

C & C++

C++-Ubuntu core dumped(核心已转储)-GDB调试

Programming

C++ Invoke Python

Systems

Linux Ubuntu 22.04 C++ 调用 Python 缺少 Python.h

Developer Tools

Visual Studio Code

Systems

Linux-Ubuntu-Tool-Visual Studio Code

C & C++

C/C++ 技术面试基础知识总结(转自 github)

C & C++

C++ Standard Library reference

C & C++

C++-Code-Time Transfer-Windows FILETIME(1601) To 1970 UTC

C & C++

C++-当表达式中同时存在有符号和无符号的类型时,有符号类型先转为无符号参与计算

Programming

C++-Get local IP

Programming

C++ CTime 与 COleDateTime

Programming

C++-Cut CString to get keyValue by ","||"}"

C & C++

C++-Struct string初始化&&map初始化

Programming

Output File-Two Way

C & C++

C++-CLSID

Programming

pThreads + TCP Client

Systems

Windows API-后台服务

Systems

Windows API-SwitchToThread

C & C++

C++-GUID from string