ashvardanian/NumKong
SIMD-accelerated distances, dot products, matrix ops, geospatial & geometric kernels for 16 numeric types — from 6-bit floats to 64-bit complex — across x86, Arm, RISC-V, and WASM, with bindings for Python, Rust, C, C++, Swift, JS, and Go 📐 observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 87
- Longevity 90
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
- age_days: 1268
- days_rel: 11
- days_push: 11
- n_releases_24m: 106
Adoption not part of the score
1877 stars · 128 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
NumKong is a mixed-precision numeric and linear-algebra library with ~2,000 SIMD-accelerated kernels for dot products, distances, matrix multiplication, geospatial, and geometric computations across 15+ numeric types (from 4-bit integers and 6-bit floats to 128-bit complex). It targets x86, Arm, RISC-V, LoongArch, Power, and WebAssembly, with bindings for C, C++, Python, Rust, JavaScript, Go, and Swift.
Use cases
- compute dot products and distances faster than numpy or scipy
- run mixed-precision matrix multiplication on cpu
- accelerate vector search similarity metrics with simd
- calculate geodesic distances faster than geopy
- score colbert maxsim late interaction without a gpu
- use low-precision int4 and float6 kernels in python
- run blask-like math in webassembly in the browser
When to choose
- you need fast, numerically stable low-precision math (int8, fp16, bf16, fp6) on cpu
- you want a tiny, dependency-free BLAS-like library with multi-language bindings
- you need SIMD portability across x86, Arm, RISC-V, and WASM
- you need single-call low latency rather than graph-based throughput frameworks
When to avoid
- you need GPU or distributed training workloads where PyTorch/JAX excel
- you need the full BLAS/LAPACK API surface (eigen decomposition, solvers)
- you rely on a mature ecosystem with long-term community support
Facets
library · maturity active
math benchmarking machine-learning geospatial search-engine performance machine-learning data-science developer-tools python rust cpp go wasm cross-platform simd blas linear-algebra mixed-precision dot-product matrix-multiplication vector-search arm-neon amx sme risc-v numpy scipy tensors distance-metrics algorithms javascript swift gpu
2 sources
- readme: https://github.com/ashvardanian/NumKong · fetched 2026-08-28 · 4b64402e5b1c
- homepage: https://ashvardanian.com/posts/numkong · fetched 2026-08-29 · c40d09ab4879
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ashvardanian/NumKong | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="ashvardanian/NumKong")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem