About
I build systems software and terminal tools, and write about making them fast.
Most of my work sits close to the machine: data layout, cache behavior, SIMD vectorization, profiling hot loops, and compiler/runtime boundaries. When a benchmark disagrees with the textbook complexity bound, I dig into the assembly, profiler output, or memory access pattern until the numbers make sense.
Selected work
- sembed-engine: A C++17 Vamana approximate-nearest-neighbor vector search engine. Reworking the hot path around flat float arrays, lightweight views, squared distances, and cached sort scores cut
w2vp50 query latency from 25.15 ms to 1.524 ms (16.5× faster) at 1.0 recall. - lazyspotify: A keyboard-driven terminal Spotify client in Go backed by a patched
librespotdaemon. 450+ GitHub stars; packaged on Homebrew, the AUR, and Nixpkgs. - peacock: A Go terminal viewer that colorizes and filters JSON logs. Profiled with
pproffrom 52 to 651 lines/sec (12×) on a 70×240 TTY. - de-dup-bench: A C++ benchmark suite covering 4,050 measurements across 480 finite and streaming duplicate-detection workloads, from growable bitsets to RocksDB and PostgreSQL.
- SafeC: An experimental safe dialect of C built on LLVM with compile-time and runtime null-dereference checks, a conservative garbage collector, and spatial and type safety.
Current focus
Right now I am exploring low-level retrieval performance (explicit SIMD kernels and hardware performance counters), deterministic testing for autonomous AI coding workflows, and fast, keyboard-first developer tools.
Contact
- Emailkartikay@dubeykartikay.com
- GitHubgithub.com/dubeyKartikay
- Twitter@dubeyK4rtikay
- LinkedInlinkedin.com/in/kartikay-dubey