cstack/db_tutorial resource
Writing a sqlite clone from scratch in C observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3289
- days_rel: n/a
- days_push: 912
- n_releases_24m: 0
Adoption not part of the score
10504 stars · 1032 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A step-by-step tutorial that builds a SQLite clone from scratch in C, covering a REPL, a simple SQL compiler and virtual machine, persistence, cursors, and B-tree indexes. The accompanying code is a learning artifact rather than production software.
Use cases
- learn how databases work internally
- build a sqlite clone from scratch in c
- understand b-tree index implementation
- learn how sql is parsed and executed
- study database persistence to disk
- follow a hands-on systems programming tutorial
When to choose
- you want to deeply understand database internals by building one
- you're learning C through a substantial systems project
- you want a guided tutorial covering compilers, VMs, and B-trees
When to avoid
- you need a real database for an application
- you expect active development or support
- you want a production-ready SQL engine
Facets
learning-resource · maturity maintenance
database parser interpreter databases education tutorials c cli sqlite-clone b-tree tutorial repl virtual-machine systems-programming linux macos
2 sources
- readme: https://github.com/cstack/db_tutorial · fetched 2026-08-28 · cd18e3d1e44f
- homepage: https://cstack.github.io/db_tutorial · fetched 2026-08-29 · 40d82e4cee8b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cstack/db_tutorial | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="cstack/db_tutorial")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem