Git under the hood with OCaml
summary
Shows how the Git object model is implemented in OCaml: immutable tree and blobs represented as content addressed values, computing SHA-1 object ids from raw bytes, and composing commits that link trees and parents. Describes reading loose objects, parsing and repacking packfile delta compression, and a streaming IO/indexing approach to scale to very large repositories. Ends with a concrete OCaml command‑line app that reads, verifies and manipulates a real Git repo.
AI-written summary · about
chapters (8)
- 0:00Git internals intro
- 2:23Object directory structure
- 5:20Commits and relationships
- 8:57Git references importance
- 12:06Pack files and compression
- 15:50Git protocol and server
- 19:37OCaml Git features
- 21:06Summary and Q&A
related talks
51mBuilding Distributed Applications in OCaml
46mOCaml for Fun & Profit: An Experience Report
26mAn Invitation to OCaml
01h 18mA Tale of Two Lambdas: A Haskeller's Journey into OCaml
01h 03mUnleash Your Data with Clojure: Using Transducers and Sequences
32mFunctional Programming with Serialized Data
46mSimple Functional Effects with Tag Unions
20mWriting a Game Boy Emulator in OCaml
