nowfound

Life & fun · alternatives · 2026

24 alternatives to Embeddable HNSW Library for Go

Frustrated by the inability to play with semantic search / ANN in Go w/o a heavy-weight external DB, I created this HNSW library. I hope other gophers find it useful.

Embeddable HNSW Library for Go is an implementation of the HNSW (Hierarchical Navigable Small World) algorithm that enables approximate nearest neighbor search and semantic search capabilities directly within Go… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Embeddable HNSW Library for Go launched in 2024; newer entries below may have overtaken it.

  1. 1

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

    2024 · github.com · its alternatives →

  2. 2

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

    2025 · github.com · its alternatives →

  3. 3

    End-to-end deep dive of the project, spanning a large GPU cluster, distributed RocksDB, and terabytes of sharded HNSW.

    2025 · blog.wilsonl.in · its alternatives →

  4. 4

    In an effort to understand it, I put together a simple, pure python implementation of HNSW, an approximate nearest neighbor library. Learned a lot, and I think for anyone interested in vector search it's an exercise that's absolutely worth doing. The code is optimized (imo) for readability, and working (albeit, quite slowly) on putting together a tutorial that walks through the motivation and implementation of HNSW. There's also working code examples for using the library for text and image search with sentence transformers and CLIP!

    2025 · github.com · its alternatives →

  5. 5

    Hey all, I just wanted to share a project I've been working on for the past month. After years of heavy frameworks, I really like the idea of using htmx, but it’s a little too low level for me and needs a thin layer above it to facilitate things like components, better syntax with complex JS inside of an attribute, etc To try and solve this problem with a very minimal stack (golang + htmx) that I've been really enjoying, I'm building this project to cater to my needs and was thinking it would be useful for other developers.

    2024 · htmgo.dev · its alternatives →

  6. 6

    A SDK for access control policies: authorization for the microservice and IoT age. Inspired by AWS IAM policies. Written for Go. - ory/ladon

    2017 · github.com · its alternatives →

  7. 7

    Hey HN! I love finding new books to read on here. I wanted to gather the most mentioned books and recreate the serendipity of physical browsing. I scraped 20k comments from HN threads related to reading, extracted the references and opinions using GPT-4o mini, and visualised their embeddings as a map. - OpenAI's embeddings were processed using UMAP and HDBSCAN. A direct 2D projection from the text embeddings didn't yield visually interesting results. Instead, HDBSCAN is first applied on a high-dimensional projection. Those clusters tend to correspond to different genres. The genre…

    2024 · hnbooks.pieterma.es · its alternatives →

  8. 8
    Gondola▲69

    The web framework for Go programming language

    2014 · its alternatives →

  9. 9

    Fast JSON encoder/decoder compatible with encoding/json for Go - goccy/go-json

    2021 · github.com · its alternatives →

  10. 10

    Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al. - sahilm/fuzzy

    2018 · github.com · its alternatives →

  11. 11

    A finite-state machine library for the Go programming language - calebwin/go-sm

    2018 · github.com · its alternatives →

  12. 12

    The authoritative resource for learning Go

    2016 · amazon.com · its alternatives →

  13. 13

    The only reasonable scripting engine for Go. Contribute to ichiban/prolog development by creating an account on GitHub.

    2021 · github.com · its alternatives →

  14. 14

    A single / multi layer / recurrent neural network written in Golang. - made2591/go-perceptron-go

    2017 · github.com · its alternatives →

  15. 15
    GoLearn▲81

    Machine Learning for Go. Contribute to sjwhitworth/golearn development by creating an account on GitHub.

    2014 · github.com · its alternatives →

  16. 16

    No gc, No goroutines, Produces small binaries while using the unmodified official go toolchain, and comes with complete Web SDK (generated from w3c/webref). We are building `pcz` to provide a reimagination of Go the language, in an effort to make it suitable for all kinds of programming tasks, and currently you can use it to build efficient web applications in Go using the generated Web SDK (as shown with the live web demo[1]). The journey is just starting, any suggestions? or any critics? [1]: https://primecitizens.github.io/livedemos/10-plat-web/

    2023 · github.com · its alternatives →

  17. 17

    Hey HN! I got nerd-sniped by Bloom Filters this weekend, specifically for searching datasets with high "cardinality" (number of unique items). They're an _amazing_ data structure that, at a fixed size, tracks potential set membership. That means unlike normal b-tree indexes, they don't grow with the number of unique items in the dataset. This makes them great for "needle in a haystack" search (logs, document) as implementations like VictoriaMetrics and Bing's BitFunnel show. I've used them in the past, but they've never been center-stage in my projects. I wanted high cardinality keyword…

    2025 · github.com · its alternatives →

  18. 18

    Hey HN, I just published v0.1.0 of go-bt and would love some feedback from the Go veterans here. Thanks in advance!

    Apr 2026 · github.com · its alternatives →

  19. 19

    Fast key-value DB in Go. Contribute to dgraph-io/badger development by creating an account on GitHub.

    2017 · github.com · its alternatives →

  20. 20

    We’ve just open-sourced Vicinity, a lightweight approximate nearest neighbors (ANN) search package that allows for fast experimentation and comparison of a larger number of well known algorithms. Main features: - Lightweight: the base package only uses Numpy - Unified interface: use any of the supported algorithms and backends with a single interface: HNSW, Annoy, FAISS, and many more algorithms and libraries are supported - Easy evaluation: evaluate the performance of your backend with a simple function to measure queries per second vs recall - Serialization: save and load your index for…

    2024 · github.com · its alternatives →

  21. 21

    Library for interacting with LLVM IR in pure Go. Contribute to llir/llvm development by creating an account on GitHub.

    2017 · github.com · its alternatives →

  22. 22CH

    Hi HN! We're thrilled to share CozoDB v0.6, a monumental update to our FOSS database, which already unifies relational and graph features. With the addition of vector search, CozoDB becomes an even better companion for LLMs like ChatGPT. This release introduces vector search using HNSW indices within Datalog, enabling seamless integration with powerful features such as ad-hoc joins, recursive Datalog, and classical whole-graph algorithms. This update significantly broadens CozoDB's capabilities. Check out the linked release note for an in-depth look at the new features, comparisons to other…

    2023 · docs.cozodb.org · its alternatives →

  23. 23

    A generator library for concise, unambiguous and URL-safe UUIDs - lithammer/shortuuid

    2015 · github.com · its alternatives →

  24. 24ST

    GoThrough hosts a searchable index of exported members in the Go standard library and a selection of hosted packages.

    2023 · gothrough.dev · 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 →