什麼是 cpu-cache-opt?
C/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。
C/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。
透過命令列快速安裝 cpu-cache-opt AI 技能到你的開發環境
來源:mohitmishra786/low-level-dev-skills。
Guide agents through cache-aware programming: diagnosing cache misses with perf, data layout transformations (AoS→SoA), false sharing detection and fixes, prefetching, and cache-friendly algorithm design.
False sharing occurs when two threads write to different variables that share a cache line, causing constant cache-line invalidations.
For perf cache event reference and false sharing detection patterns, see references/cache-counters.md.
C/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-optC/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/mohitmishra786/low-level-dev-skills