Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Hsdlib – A C Library for Vector Similarity with SIMD Acceleration
38 points by habedi0 on May 22, 2025 | hide | past | favorite
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



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: