---
title: "Discussion on \"Building an HNSW index from scratch, and what the knobs actually do\" | Hashnode"
description: "Discussion on \"Building an HNSW index from scratch, and what the knobs actually do\". What I learned building a vector search index in C++, including the part where I almost convinced myself it was working when it wasn't"
url: "https://hashnode.com/posts/building-an-hnsw-index-from-scratch/6a8eb5e18ead5d3cb7ba6794"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building an HNSW index from scratch, and what the knobs actually do](https://amankarki.hashnode.dev/building-an-hnsw-index-from-scratch?utm_source=hashnode&utm_medium=feed)

What I learned building a vector search index in C++, including the part where I almost convinced myself it was working when it wasn't

Aug 26 · 6 min read · amankarki.hashnode.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#vectordatabase](https://hashnode.com/tag/vectordatabase)
-   [#systemdesign](https://hashnode.com/tag/systemdesign)
-   [#computer-science](https://hashnode.com/tag/computer-science)
-   [#cpp](https://hashnode.com/tag/cpp)

## Written by

[Aman Karki](https://hashnode.com/@amankarki)

@amankarki · India

  
[View profile](https://hashnode.com/@amankarki)

C++/CUDA Engineer · LLM Inference & Systems

C++/CUDA engineer building LLM inference and GPU code from scratch: verbum.cpp, Lattice, RAAG. 2 CUDA PRs merged into llama.cpp. I write about inference, GPU performance, and measuring things honestly.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
