Kayavak / Workbench
Workbench
Practise until it's yours
Reading isn't knowing. The workbench has exercise books that follow the chapters, companions that explain each chapter another way, a project built chapter by chapter, and a place to write and run code in your browser.
Run code
Write and run JavaScript, TypeScript, Python, SQL and Go here, in your browser, with nothing installed. Java, C, C++, Rust, Kotlin, C#, Zig, Haskell, Scala and Swift run on Compiler Explorer, only after you agree. Every chapter's examples have a Run button, and the Lab beside each chapter opens with its snippets.
Practice books
Volume 1 Exercises: Foundations of Computing
Exercises that prove you understand each chapter from first principles: theory questions you answer in your own words, programs you build, run and measure, and…
Begin: Computers, Programs and Your ToolboxVolume 1 · CompanionVolume 1 Companion: Foundations of Computing
Everything around each chapter that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it gets wrong or…
Begin: Computers, Programs and Your ToolboxVolume 2 · ExercisesVolume 2 Exercises: The Web Frontend
Exercises that prove you understand each chapter from first principles: theory questions you answer in your own words, programs you build, run and measure, and…
Begin: The Web PlatformVolume 2 · CompanionVolume 2 Companion: The Web Frontend
Everything around each chapter that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it gets wrong or…
Begin: The Web PlatformVolume 3 · ExercisesVolume 3 Exercises: The Backend
Exercises that prove you understand each chapter from first principles: theory questions you answer in your own words, programs you build, run and measure, and…
Begin: Language FoundationsVolume 3 · CompanionVolume 3 Companion: The Backend
Everything around each chapter that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it gets wrong or…
Begin: Language FoundationsThe BuildThe TiffinBox Build
One real system, built a little more with every chapter you read, from a command-line tool in Volume 1 to a secure, observable, AI-assisted platform by the last volume.…
Begin: The Toolbox and the First ToolScenes
Step-through animations of a mechanism: play them, pause, or step back. Each one sits in the chapter that explains it.
- How one page load travels, and where the time goes
- TCP: the handshake, sequence numbers, a lost segment and goodbye
- A hash table: buckets, collisions and growing
- Consistent hashing: adding a server moves only its share
- Cache-aside: hits, misses, invalidation and the race
- Why memory is slow and caches hide it
- A lost update: two threads, one counter
- The JavaScript event loop: why it prints A, D, C, B
- A B-tree: finding a row in a few page reads, and splitting a page
- Raft: electing a leader and committing a write
- A load balancer spreads requests, and stops sending to a dead server
- First on the path wins: two versions of one library
- Skip what didn't change: a build as a graph of inputs
- Stopping without dropping anyone: graceful shutdown
- What a cache in the middle does with your headers
- What you get back is a proxy: calls in, and calls that skip it
- Liveness or readiness: who acts on each answer
- One request through Spring MVC: who sees what
- Inside one transaction: what the persistence context does
- Signing in with OAuth 2.0 and PKCE, through a backend-for-frontend
- Saving an order and announcing it: dual write against the outbox
- A circuit breaker: stop calling what's failing, then check carefully
- The invalidation race, and how a version ends it
- Mutation testing: would your tests notice a wrong line?
- A definition of done checks the doors you list
- == on boxed integers: why 127 matches and 128 doesn't
- Dynamic dispatch: one call, the right method
- Type erasure: generics checked, then removed
- Streams are lazy: one element at a time, and only as far as needed
- Sealed types: the compiler knows every case
- Warm-up: from the interpreter to C2
- Where the bytes go: an int, an Integer, a HashMap entry
Interactive tools
Open the Lab beside these chapters to use them.
- Bytes and encodings in Start Here: Computers, Programs and Your Toolbox
- Number representation in Programming Fundamentals & Paradigms
- A hash table in Data Structures
- Sorting, step by step in Algorithms
- Logic gates in Discrete Mathematics
- Bases and bits in Number Systems & Data Representation
- A CPU cache in Computer Architecture
- A CPU scheduler in Operating Systems
- Subnets in Networking Fundamentals
- A tiny compiler in Compilers & Runtimes