nowfound

Dev tools · alternatives · 2026

HA

24 alternatives to Hsdlib – A C Library for Vector Similarity with SIMD Acceleration

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

Hsdlib is a C library for calculating vector distances and similarities with SIMD acceleration. It computes Euclidean, Manhattan, and Hamming distances, along with dot product, cosine, and Jaccard similarities. The… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.

  1. 1AG

    This is a vector index I built that supports insertion and k-nearest neighbors (k-NN) querying, optimized for GPUs. It operates entirely in CUDA and can process queries on half a billion vectors in under 200 milliseconds. The codebase is structured as a standalone library with an HTTP API for remote access. It’s intended for high-performance search tasks—think similarity search, AI model retrieval, or reinforcement learning replay buffers. The codebase is located at https://github.com/rodlaf/BinaryGPUIndex.

    2025 · rlafuente.com · its alternatives →

  2. 2

    Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…

    2023 · github.com · its alternatives →

  3. 3

    A high-performance observability data pipeline. Contribute to vectordotdev/vector development by creating an account on GitHub.

    2019 · github.com · its alternatives →

  4. 4

    I recently found myself computing the similarity between lots of very high dimensional vectors (i.e., sentence embedding vectors from LLMs), and I wanted to try some more powerful measures of similarity/dependency than just Cosine similarity, which seems to be the default for everything nowadays because of its computational efficiency. There are many other more involved measures that can detect more subtle relationships, but the problem is that some of them are quite slow to compute, especially if you're trying to do it in Python. For my favorite measure of statistical dependency,…

    2023 · github.com · its alternatives →

  5. 5

    Geometry library for C - Fast point-in-polygon. Contribute to tidwall/tg development by creating an account on GitHub.

    2023 · github.com · its alternatives →

  6. 6

    Hey HN, we want to share HelixDB (https://github.com/HelixDB/helix-db/), a project a college friend and I are working on. It’s a new database that natively intertwines graph and vector types, without sacrificing performance. It’s written in Rust and our initial focus is on supporting RAG. Here’s a video runthrough: https://screen.studio/share/szgQu3yq. Why a hybrid? Vector databases are useful for similarity queries, while graph databases are useful for relationship queries. Each stores data in a way that’s best for its main type of query (e.g.…

    2025 · github.com · its alternatives →

  7. 7

    Discover pre-built APIs, compose your own and build apps

    2017 · stdlib.com · its alternatives →

  8. 8

    A small, portable, linear probing hash map. Contribute to e-dant/salmagundi development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  9. 9IT
  10. 10

    I use this library I made for Vectors and Quaternions in many personal projects. I've open-sourced it, in case anyone else would get use out of it. I use this on various projects, including quadcopter firmware, a graphics engine, a cosmology simulation, and several molecular dynamics applications. No_std compatible.

    2025 · github.com · its alternatives →

  11. 11

    Hey HN! We are building Epsilla (https://github.com/epsilla-cloud/vectordb), an open-source, self-hostable vector database for semantic similarity search that specializes in low query latency. When do we need a vector database? For example, GPT-3.5 has a 16k context window limit. If we want to let it answer a question about a 300 page book, we cannot put the whole book content into the context. We have to choose the sections of the book that are most relevant to the question. Vector database is specialized at ranking and picking the most relevant content from a large pool…

    2023 · github.com · its alternatives →

  12. 12

    Hi HN, I’ve been working on an OCR pipeline specifically optimized for machine learning dataset preparation. It’s designed to process complex academic materials — including math formulas, tables, figures, and multilingual text — and output clean, structured formats like JSON and Markdown. Some features: • Multi-stage OCR combining DocLayout-YOLO, Google Vision, MathPix, and Gemini Pro Vision • Extracts and understands diagrams, tables, LaTeX-style math, and multilingual text (Japanese/Korean/English) • Highly tuned for ML training pipelines, including dataset generation and…

    2025 · github.com · its alternatives →

  13. 13

    Simple, easy to use stream computation library for C++.

    2016 · raftlib.io · its alternatives →

  14. 14

    I ported Microsoft's TRELLIS.2 (4B parameter image-to-3D model) to run on Apple Silicon via PyTorch MPS. The original requires CUDA with flash_attn, nvdiffrast, and custom sparse convolution kernels: none of which work on Mac. I replaced the CUDA-specific ops with pure-PyTorch alternatives: a gather-scatter sparse 3D convolution, SDPA attention for sparse transformers, and a Python-based mesh extraction replacing CUDA hashmap operations. Total changes are a few hundred lines across 9 files. Generates ~400K vertex meshes from single photos in about 3.5 minutes on M4 Pro (24GB). Not as fast as…

    Apr 2026 · github.com · its alternatives →

  15. 15

    Heirarchical Navigable Small Worlds. Contribute to dicroce/hnsw development by creating an account on GitHub.

    2025 · github.com · its alternatives →

  16. 16VA
  17. 17HT
  18. 18

    All-pair set similarity search on millions of sets in Python and on a laptop - GitHub - ekzhu/SetSimilaritySearch: All-pair set similarity search on millions of sets in Python and on a laptop

    2018 · github.com · its alternatives →

  19. 19

    HNSW implementation in Rust. Reference: https://arxiv.org/ftp/arxiv/papers/1603/1603.09320.pdf - swapneel/hnsw-rust

    2024 · github.com · its alternatives →

  20. 20

    This is a GPU "software" raytracer (i.e. using manual ray-scene intersections and not RTX) written using the WebGPU API that renders glTF scenes. It supports many materials, textures, material & normal mapping, and heavily relies on multiple importance sampling to speed up convergence.

    2024 · github.com · its alternatives →

  21. 21

    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 📐 - Release Beating GCC 12 - 118x Speedup for Jensen Shannon

    2023 · github.com · its alternatives →

  22. 22

    Hi HN, I built VectorDBZ, a cross-platform desktop app for exploring and analyzing vector databases like Qdrant, Weaviate, Milvus, and ChromaDB. It lets you browse collections, inspect vectors and metadata, run similarity searches, and visualize embeddings without writing custom scripts. GitHub (downloads and issues): https://github.com/vectordbz/vectordbz Feedback welcome. If it’s useful, starring the repo helps keep me motivated. Thanks.

    Jan 2026 · github.com · its alternatives →

  23. 23

    I wrote libcorrect in C in 2016 and wanted to revisit it in Rust. Instead of doing just a direct conversion, I went down the rabbit hole of making Rust's std::simd work for me. I ended up with a templated, generic Viterbi decoder for convolutional codes that dispatches the decode at runtime depending on which instruction sets are available. For small rates and orders, the entire decode lives in registers. Larger codes work through memory but take advantage of some acceleration structures. I also spent some time building a tool to find optimal (max d_free) conv codes for a given rate and…

    Aug 2026 · github.com · its alternatives →

  24. 24

    Experimental Global Optimization Algorithm. Contribute to chrisstroemel/Simple development by creating an account on GitHub.

    2018 · github.com · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →