{
    "products": [
        {
            "slug": "crafting-interpreters",
            "name": "Crafting Interpreters",
            "kind": "book",
            "website": "https://craftinginterpreters.com/",
            "page": "https://listme.name/books/crafting-interpreters",
            "tagline": "Free web book on writing a programming language interpreter",
            "summary": "Crafting Interpreters is a book by Robert Nystrom that walks readers through building a full scripting language, from scanning and parsing to a bytecode virtual machine. The complete web version is free to read on the author's site. Print, eBook, PDF and EPUB editions are sold through the retailers the site lists.",
            "author": "Robert Nystrom",
            "formats": [
                "web",
                "pdf",
                "epub",
                "kindle",
                "print"
            ],
            "pricing": "free",
            "price_note": "Full web edition free; print and ebook editions sold separately",
            "free_to_use": true,
            "open_source": false,
            "strengths": [
                "Full book free on the web",
                "Builds two interpreters step by step",
                "Clear explanations of language internals"
            ],
            "limits": [
                "Long, with a lot of code to write",
                "Not a reference for any one language"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "cover": "https://listme.name/assets/covers/crafting-interpreters.webp",
            "overview": "The book builds Lox, a dynamically typed language, twice: first as a tree-walking interpreter, then as a faster bytecode virtual machine. It covers scanning, parsing, variables, functions, closures, classes and inheritance along the way. Each step is short, and the author asks readers to write each line themselves so they understand every part.\n\nThe site presents the book in four formats: print, eBook, PDF and free web. The web version costs nothing, and the other formats are paid. The text suits programmers who want to understand how languages work from the inside. It is long and is not a quick reference, and its focus is building a language tool rather than writing applications."
        },
        {
            "slug": "rust-programming-language",
            "name": "The Rust Programming Language",
            "kind": "book",
            "website": "https://doc.rust-lang.org/book/",
            "page": "https://listme.name/books/rust-programming-language",
            "tagline": "Official free book that teaches the Rust language from first steps",
            "summary": "The Rust Programming Language is the official book for Rust, written by Steve Klabnik, Carol Nichols and Chris Krycho with contributions from the Rust community. The online version is free and tracks current Rust releases. It is also available offline with the Rust installation.",
            "author": "Steve Klabnik, Carol Nichols and Chris Krycho",
            "formats": [
                "web"
            ],
            "pricing": "free",
            "price_note": "Free online and offline with the Rust installation",
            "free_to_use": true,
            "open_source": false,
            "strengths": [
                "Official, free and kept current with Rust",
                "Explains ownership with worked examples",
                "Available offline after installation"
            ],
            "limits": [
                "Tied to the current Rust toolchain versions",
                "Covers Rust only, not general programming"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "cover": "https://listme.name/assets/covers/rust-programming-language.webp",
            "overview": "The book introduces Rust through chapters on ownership, types, error handling, generics, traits, lifetimes, concurrency and a final project. Its examples are small programs that readers build and run with Cargo, Rust's build tool. The chapters are designed to be read in order, so each concept builds on the last.\n\nThe site says the text uses the 2024 edition of Rust and assumes Rust 1.97.0 or later, so it stays current with the language. It is free to read and maintained by the Rust project. Readers new to systems programming will find it a clear route into the language, though the ownership model takes practice before it feels natural."
        }
    ],
    "differences": [],
    "shared_rankings": [
        {
            "list": "programming-books",
            "name": "Programming books",
            "page": "https://listme.name/best/programming-books",
            "of": 11,
            "results": [
                {
                    "product": "crafting-interpreters",
                    "rank": 4,
                    "score": 90.5,
                    "verdict": "A free, step-by-step build of two interpreters, with the full web edition at no cost. It is long and asks for a lot of code, which keeps it just below the top picks.",
                    "best_for": "Building a language interpreter from scratch",
                    "spec": {
                        "level": "Intermediate",
                        "free_online": true,
                        "latest_edition": "Not stated on the book site",
                        "focus": "Building programming language interpreters"
                    }
                },
                {
                    "product": "rust-programming-language",
                    "rank": 8,
                    "score": 88,
                    "verdict": "The official, free and current guide to Rust, with worked examples and offline access after installation. It covers one language only, which limits it to readers learning Rust.",
                    "best_for": "Learning Rust with the official guide",
                    "spec": {
                        "level": "Beginner",
                        "free_online": true,
                        "latest_edition": "Updated for Rust 1.97",
                        "focus": "The Rust language and ownership"
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "crafting-interpreters",
    "page": "https://listme.name/compare/crafting-interpreters-vs-rust-programming-language",
    "json": "https://listme.name/api/v1/compare/crafting-interpreters-vs-rust-programming-language.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}