Hacker GitHub

← All repos

ashvardanian/less_slow.cpp

View on GitHub ↗ ★ 1,929 C++

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

12 mentions on Hacker News by 4 people: 4 stories, 8 comments · first 2025-01-04 · latest 2025-09-23

Mentions per year 12 mentions · busiest year 2025 (12)
20082026
  1. …in that ISA subset, like scatter/gather ops, that can yield 30% boost over serial memory accesses: https://github.com/ashvardanian/less_slow.cpp/releases/tag/v...
  2. …a fascinating topic. I've begun assembling a set of synthetic benchmarks to compare DP4A vs. DPX (< https://github.com/ashvardanian/less_slow.cpp/pull/35 >), but it feels incomplete without SWAR. My working hypothesis is that 64-bit SWAR…
    comment by ashvardanian · 2025-05-06 · in Faster sorting with SIMD CUDA intrinsics (2024)
  3. Lately I've been going through [less_slow.cpp]( https://github.com/ashvardanian/less_slow.cpp ) and learning about different performance oriented c++ coding practices.
  4. …TFLOPS. Here is that section in the repo with more notes AVX-512, AMX, and other instructions: < https://github.com/ashvardanian/less_slow.cpp/blob/8f32d65cc... >.
    comment by ashvardanian · 2025-04-18 · in Less Slow C++
  5. …containers with shared stateful allocators in Rust. In C++, I've implemented them like this: < https://github.com/ashvardanian/less_slow.cpp/blob/8f32d65cc... >, even though I haven't seen many people doing that in public codebases. Any…
    comment by ashvardanian · 2025-04-18 · in Less Slow C++
  6. …hvardanian/less_slow.py/blob/2c80c9dda6ef9aec18264871cfb51a13ac34685d/less_slow.py#L711-L722> - C++: <https://github.com/ashvardanian/less_slow.cpp/blob/8f32d65cc8976ad20c8cdf645caa5b39a1cf488b/less_slow.cpp#L3718-L3759> - Rust:…
    comment by ashvardanian · 2025-04-18 · in Less Slow C++
  7. ▲ 198
    Less Slow C++
    story by ashvardanian · 2025-04-18 · 97 comments
  8. ▲ 6
    Show HN: Less Slow C++
    story by ashvardanian · 2025-03-31 · 0 comments
  9. …integrating scatter/gather in AVX-512 and SVE, and on synthetic benchmarks both look promising: https://github.com/ashvardanian/less_slow.cpp/releases/tag/v... Those should probably unlock a much wider set of applications for SIMD, but…
    comment by ashvardanian · 2025-03-30 · in Towards fearless SIMD, 7 years later
  10. …constraints goes on. I've integrated FP8 cuBLASLt benchmarks into my "Less Slow C++" repository < https://github.com/ashvardanian/less_slow.cpp >, adding to the list of existing cuBLAS and hand-rolled CUDA and PTX benchmarks. I'm running…
  11. ▲ 3
    Release Less Slow CPP v0.6: Thrust → CUDA → PTX → SASS
    story by thunderbong · 2025-01-29 · 0 comments
  12. ▲ 15
    Learning to Write Less Slow C, C++, and Assembly Code
    story by asicsp · 2025-01-04 · 0 comments