Read each lesson in the language you use at work. This edition adds TypeScript ports to most lessons, and Rust, Julia and Go ports to the lessons where each of those languages is the right tool.
Start learning · Catalog · Interviews
Lessons in five languages
| Language | Lessons | Where |
|---|---|---|
| Python | 534 | Every lesson with code |
| TypeScript | 397 | Most lessons, from math foundations to the capstones |
| Rust | 46 | Tokenizers, retrieval, constrained decoding, serving schedulers, KV cache, binary analysis |
| Julia | 45 | Numerical math, statistics, signal processing, small networks |
| Go | 16 | MCP and A2A servers, gateways, auth, worker pools, durable execution, telemetry |
- Every port uses only the standard library of its language and keeps the functions and demos of the Python file.
- A lesson gets a Rust, Julia or Go port only when a practitioner would pick that language for the problem. Reinforcement learning, classical ML and torch-based lessons stay in Python.
- The language chips on each lesson page and the Lang column in the README show which ports a lesson has.
- CI compiles and runs every port on each pull request:
tsc --strict,rustc -D warnings, Julia, andgofmt,go vetandgo run. - Review of the ports also found and fixed bugs in the Python files, for example the tokenizer fallback for non-Latin text, out-of-range reads in the ELF and PE readers, and the code runner status in the capstone.
Site
- Lesson code blocks are rendered once at build time with Shiki.
- Search now indexes the body text of each lesson, not only the titles.
- Level-4 headings render as headings and show in the table of contents.
- Tabs, overlays and failed requests no longer leave the site in a broken state.
- llms.txt has one discovery section after the summary.
- Mermaid diagrams in the README are readable in dark mode.
Lessons and interviews
- The interview bank is now built by a generator on main.
- Lesson claims that the interview reviews found wrong are corrected.
- Better quiz distractors in phase 10 lessons 06 and 07.
- Phase 13 lesson 45 treats a clang that does not match the fixture the same as a missing clang.
Thanks to @eshitakundu and @viwe-monai for their contributions in this edition.
Full changelog: https://github.com/rohitg00/ai-engineering-from-scratch/compare/v2026.11.1...v2026.11.2