Svelte Hacker News logo
  • top
  • new
  • show
  • ask
  • jobs
  • about

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

4 points by habedi0 a day ago

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