Show HN: Hsdlib – A C Library for Vector Similarity with SIMD Acceleration

2 habedi0 0 5/19/2025, 7:42:15 AM
Hsdlib is a small C library for fast vector distance and similarity calculations.

At the moment, it supports:

    - Euclidean, Manhattan, and Hamming distances

    - Dot product, cosine, and Jaccard similarities
Hsdlib uses SIMD acceleration (AVX, AVX2, AVX512, NEON, and SVE instructions) to speed things up.

GitHub link: https://github.com/habedi/hsdlib

Comments (0)

No comments yet