← all repositories

skyzh/write-you-a-vector-db

A tutorial that teaches how to add vector storage, expressions, and indexes to the BusTub educational database system.

758 stars C++ RAG · SearchLearning
write-you-a-vector-db
Velocity · 7d
+0.9
★ / day
Trend
steady
star history

This project provides a step-by-step tutorial for implementing pgvector-like vector database capabilities atop CMU-DB’s BusTub educational database system. It covers implementing vector storage, vector expressions, and vector indexes. The tutorial targets developers who want to understand how vector databases work internally, with plans for a Rust variant built on RisingLight.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.