You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Help finish this repository cleanly. Prioritize hardening, consistency, and removal of stale surfaces over feature expansion.
6
-
7
3
## Project position
8
4
9
-
This repository is in **closure and hardening mode** (archive-ready for low-frequency maintenance).
10
-
11
-
## Working style
12
-
13
-
1. Read the relevant capability specs in `openspec/specs/`.
14
-
2. Work inside an OpenSpec change under `openspec/changes/`.
15
-
3. Prefer aggressive cleanup when a file or workflow is stale, duplicated, or no longer part of the final repo story.
16
-
4. Keep user-facing guidance aligned across:
17
-
-`README.md`
18
-
-`README.zh-CN.md`
19
-
-`docs/`
20
-
-`AGENTS.md`
21
-
-`.github/copilot-instructions.md`
22
-
5. Use `/review` before merge or after a large cleanup phase.
5
+
This repository is in **closure and hardening mode** (archive-ready for low-frequency maintenance). Prefer normalization, defect fixing, and removal of stale or low-signal surfaces over adding new features.
23
6
24
7
## C++ Standards and Style
25
8
@@ -28,16 +11,26 @@ This repository is in **closure and hardening mode** (archive-ready for low-freq
28
11
-**Memory safety**: prefer RAII, smart pointers, avoid raw `new/delete`
29
12
-**Performance**: always measure with benchmarks before claiming improvement
30
13
-**Concurrency**: use `std::atomic` with explicit memory ordering
14
+
-**Header-only design**: all library code in `include/hpc/` and `examples/*/include/` is header-only. Platform-specific code is hidden behind preprocessor conditionals within headers.
15
+
16
+
## Repository layout
17
+
18
+
```text
19
+
cpp-high-performance-guide/
20
+
├── CMakeLists.txt
21
+
├── CMakePresets.json
22
+
├── cmake/
23
+
├── examples/
24
+
├── tests/
25
+
├── benchmarks/
26
+
├── tools/
27
+
├── scripts/
28
+
├── docs/ # VitePress site and bilingual learning docs
29
+
├── .githooks/ # Project-managed Git hooks
30
+
└── .github/
31
+
```
31
32
32
-
## Project facts
33
-
34
-
- Docs stack: **VitePress**, published via GitHub Pages
35
-
- Build system: **CMake + presets**
36
-
- Language server: **clangd** — configured via `.clangd` at repo root (`CompilationDatabase: build/debug`); all CMake presets export `compile_commands.json` via `CMAKE_EXPORT_COMPILE_COMMANDS=ON`
0 commit comments