James Smith — Author (2)

Book

From Source Code To Machine Code
Douban Goodreads
詹姆斯·史密斯 publishing house: Independently published 2023 - 5 other title: From Source Code To Machine Code: Build Your Own Compiler From Scratch
Ever wondered how computers turn source code into working software? You can learn the art by building your own mini-compiler. A succinct book walks through a minimal yet complete compiler implementation. Compiles a static-typed language into x64 ELF executables.

Book

Build Your Own Database From Scratch
Douban Goodreads
詹姆斯·史密斯 publishing house: Independently published 2023 - 4 other title: Build Your Own Database From Scratch: Persistence, Indexing, Concurrency
Databases are not black boxes. Understand them by coding your own from scratch! A walkthrough of a minimal persistent database implementation. We start with a B-Tree, then add a new concept with each chapter, and eventually go from a simple KV to a mini relational DB. Covers three important topics: 1. Persistence. How not to lose or corrupt your data. Recovering from a crash. 2. Indexing. Efficiently querying and manipulating your data. (B-tree). 3. Concurrency. How to handle multiple (large number of) clients. And transactions.