A header-only C vector database library

github.com

35 points by abdimoalim 4 hours ago


eatonphil - 3 hours ago

As data stores go go this is basically in memory only. The save and load process is manually triggered by the user and the save process isn't crash safe nor does it do any integrity checks.

I also don't think it has any indexes either? So search performance is a function of the number of entries.

hendler - an hour ago

Useful for embedded devices? Crashes, disk updates not important for ephemeral process?

kazinator - 3 hours ago

In the world of Kubernetes and languages where a one-liner brings in a graph of 1700 dependencies, and oceans of Yaml, it's suddently important for a C thing to be one file rather than two.

ddtaylor - an hour ago

Would it work to replace the memory store with mmap?

Mikhail_Edoshin - 3 hours ago

Why to call it a header? Could be just a source file. Including sources is uncommon, but why not? Solid "amalgamation" builds are a thing too.

newzino - 36 minutes ago

[dead]