About
About Hatem M.
Hatem M. is a programmer and technical author whose work focuses on modern C++, large language models, and AI systems.
His books combine first-principles explanations with complete implementations and reproducible experiments. They include C++ Algorithmic Mastery, an eight-volume series on algorithms and problem solving; Build an LLM Inference Engine in C++, which constructs a GPT-style inference engine from scratch; LLM Quantization: From the Bits Up, which develops the theory and practice of neural network quantization from the bit level upward; and C++ Autopsy, a forensic investigation of ten subtle C++ bugs that compiled successfully, ran correctly, and still produced the wrong answers.
Books
Books by Hatem M.
20 books by Hatem M. on Leanpub
The Problem Before the Algorithm
Hatem M.
Build a SQL Database Engine in C++
Hatem M.
Build a Compiler in C++, Backwards
Hatem M.
Build an LLM Inference Engine in C++
Hatem M.
100 LLM Autopsies
Hatem M.
Full-Length Practice Exams
Hatem M.
Safety, Ethics and Compliance
Hatem M.
Deployment, Monitoring and Reliability
Hatem M.
Optimisation and Acceleration
Hatem M.
Adaptation and Fine-Tuning
Hatem M.
Retrieval-Augmented Generation
Hatem M.
Embeddings and Vector Search
Hatem M.
Prompting and Controlled Output
Hatem M.
Foundations of Large Language Models
Hatem M.
Claude Patterns
Hatem M.
Beyond Chat: Managing Complex Projects with Claude
Hatem M.
SQL Problem Solving
Hatem M.
LLM Quantization
Hatem M.
C++ AUTOPSY
Hatem M.
C++ Algorithmic Mastery: 1000 Challenges from Beginner to Legendary
Hatem M.
Bundles
Bundles by Hatem M.
11 bundles by Hatem M. on Leanpub
THE AI & CODE FORGE — 20 Books in AI Engineering, LLMs, C++ & Software Systems
Hatem M.
C++: Derive. Drill. Dissect. Build
Hatem M.
Build C++: Compilers, Databases & LLM Engines
Hatem M.
Build, Debug, Infer, Quantize — A C++ & LLM Bundle
Hatem M.
Large Language Models: The Complete 12-Book Collection
Hatem M.
110 Autopsies: C++ and LLM Systems
Hatem M.
C++, SQL, LLMs and Claude — Build It, Break It, Check It
Hatem M.
The LLM Engineering Series
Hatem M.
Built and Proven — C++, SQL, LLMs & Claude
Hatem M.
C++ & SQL Mastery Library — 1084 Solved Problems
Hatem M.
The Claude Method — Principles & Patterns
Hatem M.
Find your next book on Leanpub.
Thousands of books, courses, bundles and tracks, updated by their authors as they write.
Browse the store









