A personal knowledge base in Markdown — short, opinionated notes written for quick recall, not as tutorials. Topics: C++, Go, OS internals, AI engineering.
51 files · 4 areas · last touched 2026-06-08.
- A personal notebook. Pages are terse, assume the basics, and focus on the counter-intuitive bits and engineering handles.
- Not a tutorial, not a reference, not a beginner's guide. Don't expect coverage from first principles.
- May not be fully accurate. These are my mental models and shorthand — verify before relying on them.
CC-BY-4.0 — feel free to reuse with attribution. Full text in LICENSE.
Keywords, language basics, memory/ownership/RAII, compiling, oop, templates/STL, multithreading, performance, sanitizers/UB/ODR, modern (c++11/14/17/20).
cxx/keywords.md— keyword referencecxx/language_features.md— language basicscxx/memory.md— lifetime, ownership, RAIIcxx/compiling.md— compiling & linkingcxx/oop.md— object-orientedcxx/template_stl.md— templates & STLcxx/multi_thread.md— multithreadingcxx/performance.md— performance analysis (perf / benchmark)cxx/engineering_practice.md— sanitizers, UB, ODRcxx/modern/c++11.md— C++11cxx/modern/c++14.md— C++14cxx/modern/c++17.md— C++17cxx/modern/c++20.md— C++20
Concurrency (channels, patterns, sync_map, scenarios), language (defer/panic, escape analysis, interface/reflection), runtime (gc, scheduler, allocator, write barrier, netpoll).
go/concurrency/channels.md— channel semanticsgo/concurrency/concurrency_patterns.md— common patternsgo/concurrency/concurrency_scenarios_templates.md— scenarios & templatesgo/concurrency/sync_map.md—sync.Mapgo/language/defer_panic_recover.md— defer / panic / recovergo/language/escape_analysis.md— escape analysisgo/language/escape_analysis_cases.md— escape analysis casesgo/language/interface_reflection.md— interface & reflectiongo/runtime/gc.md— GCgo/runtime/memory_allocator.md— memory allocatorgo/runtime/scheduler.md— goroutine schedulergo/runtime/write_barrier.md— write barriergo/runtime/netpoll.md— netpoll networking
Process/scheduling, memory, concurrency primitives, io, filesystem, payload formats, virt/containers, network stack, scheduler comparison (CFS / UMS / ULE / GMP / tokio).
os/memory.md— memory managementos/process.md— process & schedulingos/concurrency.md— concurrency primitivesos/filesystem.md— filesystemos/io.md— I/Oos/payload.md— payload formatsos/virtualization.md— virtualization / containersos/network_stack.md— network stackos/scheduler_comparison.md— scheduler comparison (CFS / UMS / ULE / GMP / tokio)
Agent fundamentals, prompt (design/engineering), evals, memory systems, RAG, tools/function calling/MCP, multi-agent, context engineering, and a new harness/ subdirectory for the runtime/operational layer (sandbox, control loop, retry, state, observability, I/O, lifecycle).
ai/agent.md— agent fundamentalsai/prompt.md— prompt designai/prompt_engineering.md— prompt engineering patterns & anti-patternsai/evals.md— evaluation methodologyai/memory.md— memory systems (mem0, Letta, LangMem, Cognee, Zep, …)ai/rag.md— RAG / knowledge retrievalai/tools.md— tool use / function calling / MCPai/multi_agent.md— multi-agent orchestrationai/context_engineering.md— context engineeringai/harness/— runtime/operational layer: sandbox, control loop, resilience, state, observability, I/O, lifecycle
AI harness (runtime layer, 7 files):
ai/harness/sandbox.md— sandbox & permission enforcementai/harness/control_loop.md— control loop implementation & stopping rulesai/harness/resilience.md— retry / timeout / compaction triggersai/harness/state.md— persistence & checkpointai/harness/observability.md— logging / trace / costai/harness/io.md— streaming / interrupt / HITL / progressai/harness/lifecycle.md— process spawn / isolation / termination
- Browse: scroll the Index above
- Search:
rg "keyword"from the repo root (ripgrep)