Around 2'000 SIMD kernels for mixed-precision BLAS-like numerics — dot products, batched GEMMs, distances, geospatial, ColBERT MaxSim, and mesh alignment — from Float6 to Float118, leveraging RISC-V, Intel AMX, Arm SME, and WebAssembly Relaxed SIMD, in 7 languages and 5 MB.
Taking the computationally expensive Schulze voting method from theory to practice on GPUs — exploring parallel algorithms, hardware optimizations, and why Mojo surprised me.
StringZilla v4 brings CUDA acceleration for string processing: 109x faster than Nvidia's CuDF on edit distances, plus 52-bit MinHash fingerprinting and AES-based hashing.
Most C and Rust thread pools run 10x slower than OpenMP on fork-join workloads. Fork Union closes the gap to 20% with 300 lines, dodging mutexes and CAS.
Exploring the 79-character mma.sp::ordered_metadata instruction for Tensor Cores on Hopper H100s, plus insights on PTX, SASS, and the evolving complexity of GPU ISAs.
By exploiting CPU port differences between Intel and AMD, interleaving FMA with addition instructions boosts AVX-512 reduction kernels from 211 GB/s to 330 GB/s per core.
A 16-year-old StackOverflow question on string splitting gets a modern answer: SIMD-accelerated tokenization that's 10x faster than STL and cleaner than ranges.
Why SIMD programming is harder than it looks: exploring cosine similarity optimization across x86 and Arm architectures, from basic AVX2 to cutting-edge SVE2 instructions.
Achieving 5x faster set intersections on AWS Graviton 4 using Arm's SVE2 and Intel's AVX-512 with specialized instructions like HISTCNT, MATCH, and VP2INTERSECT.
Keyword arguments in Python aren't free. Switching from PyArg_ParseTupleAndKeywords to METH_FASTCALL and manual parsing yields a 35% speedup in function calls.
C STL strings bring 20,000 lines of code to every compilation, yet remain slower than LibC and error-prone. StringZilla offers a faster, more intuitive alternative.
Indexing 28 billion chemical embeddings from 7 billion molecules using optimized Jaccard distance kernels, achieving 99% recall at 3,700 QPS on AWS Open Data.
Binding USearch to 10 languages reveals the friction in each ecosystem—from Python's simplicity to Java's complexity—and why C still rules performance-critical code.
From pure Python to AVX-512 assembly, optimizing cosine similarity reveals a 2,500x speedup through SIMD, FP16, and VNNI instructions on modern Intel CPUs.
Hand-written AVX-512FP16 SIMD code achieves 119x speedup over GCC's auto-vectorization for Jensen-Shannon divergence, using reciprocal square roots and FMA instructions.
Switching from PyBind11 to direct CPython C API bindings reduced StringZilla's call latency by 5x, proving that understanding CPython internals pays dividends.
AVX-512 and Arm SVE bring masked loads and native f16 math to vector distances. SimSIMD exploits both, running up to 200x faster than SciPy on modern CPUs.
Replacing billion-entry preference lists with vector search indexes makes the Nobel Prize-winning Stable Marriage algorithm scale to real-world dating and database joins.
StringZilla uses SIMD tricks to hit 16 GB/s substring search, beating standard libraries by 5-10x and parsing multi-terabyte files Python couldn't handle.
Vector search isn't just for AI embeddings. Use HNSW for geo-spatial queries, stock covariance, chess positions, text tokens, and multi-modal recommendations with custom metrics.
From junior to expert: four C solutions to count unique strings reveal 30x performance gaps. Proficiency dramatically impacts even trivial single-threaded code.
A love story cut short — remembering Sona, who taught me what it means to truly care for others, build with purpose, and find someone who shares your frequency.
Write faster C with Google Benchmark: measure everything from math micro-ops to sorting algorithms, and discover 60x speedups with simple compiler tricks.
Why reaching DDR4's theoretical bandwidth is nearly impossible. CPU parallel reductions struggle to hit 60% saturation while GPU solutions easily exceed 79%.
M1 Max with DDR5 challenges 64-core server workloads in hash-table benchmarks. Memory bandwidth matters more than core count for many real-world tasks.
Analysis of 2,000 Linux and macOS binaries reveals less than 1% of instructions use SIMD, despite CPUs dedicating massive die area to vector processing.
A data-driven argument for why Artsakh must be independent — examining historical claims, demographic evidence, and the indisputable pattern of ethnic violence.
Why Armenia is an emerging tech hub worth your attention — from startup tax incentives to ancient history, discover what makes this small nation punch above its weight.
The pandemic revealed our weaknesses, but also unprecedented opportunities — from personal growth to financial markets, here's why optimism isn't naive.
I often post on Reddit and HackerNews, with the latter being a surprisingly well-balanced platform for technical discussions with less personal bias. Here are some of my favorite publications that made headlines on HackerNews: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19 . Beating OpenAI CLIP with 100x less data and compute . Less Slow C++ . Full Unicode Search at 50× ICU…
All of my software is hosted on GitHub, mostly under the Apache-2.0 permissive license. Free for commercial and non-commercial use, modification, and distribution. Major Projects USearch - a universal search engine powering many databases, AI labs, and experiments in Natural Sciences. Compact C++ core with 10+ language bindings — 10–100× faster than Meta FAISS for vector search and far beyond…
Most materials are in English unless literally flagged otherwise. The absolute majority is on the subjects of Systems Design, Computer Science, and Artificial Intelligence. The 🗣️ talking head links aren’t technical, and in the ones with a 👯♂️ - I am just a wingman supporting another speaker. 2025 PyTorch & Lightning AI Meetup: Matrix Multiplication Assembly Instructions. London, UK.…