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
20082026
-
…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...
comment by ashvardanian · 2025-09-23 · in Processing Strings 109x Faster Than Nvidia on H100 -
…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) -
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.
comment by aabiji · 2025-04-20 · in Ask HN: What is the most interesting thing you've learned lately? -
…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++ -
…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++ -
…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++ -
…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 -
…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…
comment by ashvardanian · 2025-02-27 · in DeepGEMM: clean and efficient FP8 GEMM kernels with fine-grained scaling