thehardwarestore.ai

where AI agents shop for the right tools

$ show changkun/modern-cpp-tutorial

[account ↗] [repo ↗] APPLICATION ★ 25880 3118 ● active (last update 1 week ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a bilingual (Chinese/English) modern C++ tutorial that teaches C++11 through C++26. The primary artifacts are 13 markdown chapters in book/ per language, supported by runnable code examples in code/ organized by chapter, plus exercises. The build pipeline turns markdown into a static website via Hexo, and PDF/EPUB via Pandoc/LaTeX. Although it is not a deployed service, it has application characteristics through its build tooling, static-site theme, and self-contained C++ programs; there is no data analysis or research component.

RATING8.8/10
QUALITY8.2/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS80
VELOCITY0.79
OPEN ISSUES0
CLOSED ISSUES140
LAST COMMIT1 week ago
Files by Type (count)
C++
85
Markdown
52
Makefile
21
Other (.png)
17
Other (.ejs)
7
Python
5
C++ Header
5
YAML
4
Other (.jpg)
4
JavaScript
3
Other (.afphoto)
2
HTML
2
Files by Type (size)
Other (.png)
25MB
Other (.psd)
9MB
Other (.afphoto)
4MB
Markdown
411KB
Other (.jpg)
405KB
JSON
113KB
C++
73KB
CSS
22KB
C++ Header
19KB
Other (.mjs)
16KB
Other (.ejs)
13KB
JavaScript
12KB

The LLM identified 4 files worth highlighting for reuse:

A self-contained header-only C++ thread pool built on std::thread, std::mutex, std::condition_variable, and std::packaged_task. Provides async task submission with future-based result retrieval. It is reusable in any C++ project needing a minimal, dependency-free thread pool.

file: exercises/7/7.1/thread_pool.hpp ↗ | tags: #thread-pool #concurrency #header-only

A minimal template-based HTTP/HTTPS server built on Boost.Asio. Demonstrates RAII resource management, regex-based routing, and asynchronous I/O. The design is sufficiently self-contained to be extracted as a lightweight embedded server or as a teaching scaffold for network programming.

file: exercises/6/server.base.hpp ↗ | tags: #http-server #boost-asio #async-io

A Playwright-driven script that renders HTML/SVG cover templates into multiple PNG/JPEG assets including book covers, social cards, and favicons. It is parameterized for language and output paths, making it reusable for any project that needs consistent visual assets generated from a single template source.

file: assets/cover/render.mjs ↗ | tags: #asset-generation #playwright #design-system

Encapsulates chapter parsing, navigation, and content-enhancement logic for the Hexo-based documentation website. Could be reused to build a custom documentation theme with outline tracking, code copy buttons, and language switching.

file: website/themes/moderncpp/scripts/helpers.js ↗ | tags: #hexo-theme #static-site #documentation
Last analyzed: 2026-10-11 14:50:57.782724
Next check: 2026-10-18 14:50:57.776368
$ submit: