Tech News
← Back to articles

A header-only C vector database library

read original related products more articles

vdb

A lightweight, header-only C library for storing and searching high-dimensional vector embeddings with optional multithreading support.

Features

Header-only implementation (single file: vdb.h )

) Multiple distance metrics (cosine, euclidean, dot product)

Optional thread-safe operations via #define VDB_MULTITHREADED

Save/load database to/from disk

Custom memory allocators support

No dependencies (except pthreads for multithreading)

for multithreading) Python bindings (refer to vdb.py )

... continue reading