Home / yuecao365 / offercome · src/lib/mock-interviews/skills/cpp/SKILL.md · GitHub

cpp skillA

cpp is agent-read markdown (skill) from yuecao365/offercome: C++ 后端怎么面:内存模型、RAII、STL 性能、多线程与原子、IO 模型、现代 C++。JD 点名 C++ 时读。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

## 面试官在意什么

C++ 后端主要出现在基础架构(存储、数据库内核、RPC 框架、消息队列)、网络与网关、游戏服务器、量化交易、音视频与推荐引擎在线服务。日常是在多线程、高性能、资源受限的场景里写服务,直接面对内存、锁、系统调用与 CPU 缓存。C++ 面试的主线非常稳定:对象生命周期与内存模型、智能指针与 RAII、STL 容器与算法的底层、多线程与原子操作、网络 IO 模型(epoll、Reactor)、性能剖析与优化、现代 C++(11 到 23)的实际使用。语言复杂度高,所以面试官最在意三件事:一是候选人能否写出不崩、不泄漏、无未定义行为的代码,并指出一段代码里的悬垂引用、数据竞争或异常不安全;二是对性能的直觉是否建立在测量之上——知道 cache line、分支预测、内存分配的代价,用过 perf 和 sanitizer;三是对系统层的理解——进程与线程模型、IO 多路复用、内存分配器、锁的代价。

校招侧重语言基础与手写能力:虚函数与多态的实现、拷贝与移动语义、智能指针的实现原理、STL 容器的复杂度与失效规则、手写线程安全队列或简单 Reactor。社招侧重工程与排查:core dump 分析、内存泄漏与碎片、锁竞争与伪共享、epoll 的边缘触发与惊群、零拷贝与批处理、编译期优化与构建系统。基础架构团队会深入到内存序、无锁结构、协程与异步框架(brpc、seastar、asio)的设计,游戏公司会多问帧同步、对象池与热更新。

怎么问才像这个方向的面试官:
- 架构与方法论(缓存一致性、消息队列、限流降级)交给 backend 包,本包专注 C++ 语言机制、系统层与性能工程。
- 代码优先:内存、并发、STL 相关主题尽量给一段十行以内的代码让候选人找 bug 或补全,追每个对象的生命周期与每个线程的可见性。
- 性能题必须有测量:候选人说的任何优化都要追怎么测、用什么工具、前后数字,"理论上更快"不算数。
- 按方向调整深度:基础架构与存储岗位追内存序、分配器、IO 模型细节;业务服务岗位重点在正确性(RAII、异常安全、线程安全)与排查工具。

## 项目 / 实习怎么深挖

简历上出现下面这类经历时从哪里切、追什么。追到候选人能说出机制、数字的来源与一次真实的故障或取舍才算实;只有框架名与结论、说不出自己那一段的,记为危险信号。通用的追问方法见 project-deep-dive。

- 简历出现自研网络框架 / RPC → 追线程模型(几个 Reactor、怎么分发)、缓冲区与帧协议、连接管理与超时、压测数据与对比对象
- 简历出现"高性能" / "低延迟" → 追怎么测的(perf、benchmark)、优化了什么(分配、锁、拷贝、缓存)、P99 从多少到多少
…

Read the whole file at its exact version.

How to install

Latest version
mdr add yuecao365/offercome/cpp@git:20260920.a4843f5
Exact content
mdr add yuecao365/offercome/cpp@sha256:391ffb8fe6272bd5

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7hsa3cqhulti3qaf.svg)](https://markdownregistry.com/a/art_7hsa3cqhulti3qaf)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260920.a4843f5 latest2026-09-20 a4843f5 13,447 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13447 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yuecao365/offercome · 23 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7hsa3cqhulti3qaf
GET https://markdownregistry.com/api/v1/resolve?ref=yuecao365/offercome/cpp
GET https://markdownregistry.com/api/v1/blob/391ffb8fe6272bd5e1d6e15a43e0ca18b8029181344264e81093e0375531d35e

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from yuecao365/offercome

AGENTS.md agents
yuecao365/offercome · AGENTS.md
git:20260921.abf64ee · audit A · 23 stars
CLAUDE.md claude
yuecao365/offercome · CLAUDE.md
git:20260803.e553cde · audit B · 23 stars
agent-runtime skill
yuecao365/offercome · src/lib/mock-interviews/skills/agent-runtime/SKILL.md · Agent 运行时深挖:循环与事件、工具协议与沙箱、子 agent、预算终止、恢复、输出契约。
git:20260920.a4843f5 · audit A · 23 stars
ai-agent skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-agent/SKILL.md · Agent 开发与运行时怎么面:循环与工具、RAG、上下文与记忆、评测、安全、成本。Agent 与 LLM 应用岗读。
git:20260920.a4843f5 · audit A · 23 stars
ai-algorithm skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-algorithm/SKILL.md · 大模型算法怎么面:Transformer、预训练、后训练与对齐、RL、微调、Embedding、评测。LLM 算法岗读。
git:20260920.a4843f5 · audit A · 23 stars
ai-app-testing skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-app-testing/SKILL.md · AI 应用测试深挖:非确定性输出、幻觉与 RAG 评估、Agent 链路审计、安全对抗、回归门禁、AI 生成用例。
git:20260920.a4843f5 · audit A · 23 stars
ai-infra skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-infra/SKILL.md · 大模型推理与训练基础设施怎么面:KV cache、调度、并行、量化算子、服务指标、训练集群。AI Infra 岗读。
git:20260920.a4843f5 · audit A · 23 stars
algorithm skill
yuecao365/offercome · src/lib/mock-interviews/skills/algorithm/SKILL.md · 算法与机器学习怎么面:ML 基础、深度学习、特征、AB 实验、部署监控、落地。算法与 ML 工程岗读。
git:20260920.a4843f5 · audit A · 23 stars
android skill
yuecao365/offercome · src/lib/mock-interviews/skills/android/SKILL.md · Android 怎么面:生命周期、Compose、协程与 Flow、性能、启动。JD 点名 Android 时读。
git:20260920.a4843f5 · audit A · 23 stars
backend skill
yuecao365/offercome · src/lib/mock-interviews/skills/backend/SKILL.md · 后端怎么面(栈无关):缓存、消息队列、接口、可靠性、可观测、容量、发布。服务端岗读。
git:20260920.a4843f5 · audit A · 23 stars
cs-fundamentals skill
yuecao365/offercome · src/lib/mock-interviews/skills/cs-fundamentals/SKILL.md · 计算机基础怎么面:操作系统、网络、数据结构与算法、数据库原理。技术岗校招兜底。
git:20260920.a4843f5 · audit A · 23 stars
data-engineering skill
yuecao365/offercome · src/lib/mock-interviews/skills/data-engineering/SKILL.md · 数据工程怎么面:数仓建模、离线与实时链路、调度、数据质量、湖仓。数据开发与数仓岗读。
git:20260920.a4843f5 · audit A · 23 stars

Every file in yuecao365/offercome

Other files named cpp

cpp skill
tongminglaic/ako4x · templates/skills/cpp/SKILL.md · Host-side C++ kernels (`[build].language = cpp`) — the `solution/{kernel.cpp, binding.py}` two-file TVM-FFI binding…
git:20260531.0fd4b5f · audit A · 74 stars
cpp skill
jnpiyush/agentx · .github/skills/languages/cpp/SKILL.md · Write modern, maintainable C++ using C++23-era practices. Use when building native libraries, performance-sensitive…
v1.0.0 · audit A · 16 stars

Browse by kind, by grade A, or by owner.