ashvardanian/less_slow.cpp resource
Playing around "Less Slow" coding practices in C++ 20, C, CUDA, PTX, & Assembly, from numerics & SIMD to coroutines, ranges, exception handling, networking and user-space IO observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 94
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 1644
- days_rel: 38
- days_push: 38
- n_releases_24m: 35
Adoption not part of the score
1924 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tutorial-style repository of benchmarks demonstrating performance-oriented coding practices in C++20, C, CUDA, PTX, and assembly, covering topics from SIMD numerics to coroutines, ranges, exceptions, and user-space IO. It uses Google Benchmark to build intuition for writing faster low-level code.
Use cases
- learn performance-oriented C++ coding practices
- benchmark SIMD vs scalar code
- understand CUDA and PTX micro-kernels
- measure coroutine and ranges overhead
- learn compiler optimization flags beyond -O3
- study branch predictor and memory behavior
- learn io_uring and user-space IO patterns
When to choose
- you want hands-on benchmarked examples of low-level C++/CUDA optimization
- you're building intuition for nanosecond-to-millisecond scale performance decisions
- you want a practical companion to HPC or systems programming study
When to avoid
- you need a production library to import into your project
- you want beginner-friendly C++ tutorials rather than performance deep-dives
- you need Windows or macOS-first guidance, since it targets GCC/Clang/NVCC on Linux
Facets
learning-resource · maturity active
benchmarking developer-tools math concurrency networking performance developer-tools tutorials gpu-computing cpp c cli cpp20 cuda simd assembly ptx coroutines io-uring google-benchmark hpc micro-optimization avx512 algorithms linux gpu
2 sources
- readme: https://github.com/ashvardanian/less_slow.cpp · fetched 2026-08-28 · fbaf99b9ec6b
- homepage: https://ashvardanian.com/tags/less-slow/ · fetched 2026-08-29 · e8434626d826
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ashvardanian/less_slow.cpp | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="ashvardanian/less_slow.cpp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem