Leanpub Header

Skip to main content

Filters

Category: "C and C++"

Books

  1. Build Your Own Redis with C/C++
    Build Your Own Redis with C/C++
    Network programming, data structures, and low-level C.
    build-your-own.org

    Build real-world software by coding a Redis server from scratch.Network programming. The next level of programming is programming for multiple machines. Think HTTP servers, RPCs, databases, distributed systems.Data structures. Redis is the best example of applying data structures to real-world problems. Why stop at theoretical, textbook-level knowledge when you can learn from production software?Low-level C. C was, is, and will be widely used for systems programming and infrastructure software. It’s a gateway to many low-level projects.From scratch. A quote from Richard Feynman: “What I cannot create, I do not understand”. You should test your learning with real-world projects!

  2. Inside the Linux Kernel: Architecture, Mechanisms and Internals
    Inside the Linux Kernel: Architecture, Mechanisms and Internals
    A Deep Dive into Linux System Implementation from Hardware to User Space
    Steve Publications

    Ever wondered what really happens inside the Linux kernel when a program runs? Go beyond the surface and explore the code, data structures and hardware mechanisms that make Linux work. From system calls to CPU instructions, this book takes you deep into the kernel’s inner workings, giving experienced programmers a closer look at the system they rely on every day.

  3. Building High-Performance LLM Inference Engines in C
    Building High-Performance LLM Inference Engines in C
    From Transformer Fundamentals to a Complete SafeTensors Inference Runtime
    Steve Publications

    Build a real LLM inference engine from the ground up in portable C. Learn how transformers work, load SafeTensors weights, implement KV caching and optimize inference on the CPU. By the end, you will run TinyLlama locally and generate text with a complete working runtime.

  4. SDL3: The Complete Reference
    SDL3: The Complete Reference
    A Comprehensive Guide to Cross-Platform Game Development with Simple DirectMedia Layer 3
    Steve Publications

    Build games that run almost anywhere with SDL3. This book starts with the basics and steadily moves into advanced graphics, audio, input, and application design using practical, real-world examples. Every chapter includes complete code you can compile and experiment with, helping you understand not just how SDL3 works, but how to use it to build fast, portable applications with confidence.

  5. Programming with C++20
    Programming with C++20
    Concepts, Coroutines, Ranges, and more
    Andreas Fertig

    Get up to speed with C++20 and its most impactful features.

  6. Double-Entry Accounting - A Literate Programming Implementation
    Double-Entry Accounting - A Literate Programming Implementation
    C, SQLite and an AI bookkeeper, built chunk by chunk
    Alex Insulae Rivers

    A book that compiles into the software it describes.Learn double-entry accounting by building a complete ledger in C and SQLite, using literate programming. From journal entries and accounting invariants to an AI-powered bookkeeper through MCP, every component is explained and implemented.

  7. Modern C++ Memory Safety
    Modern C++ Memory Safety
    Safer Systems Software Without a Full Rewrite
    Steve Publications

    Modern C++ Memory Safety shows you how to make existing C++ systems safer without starting over. Learn practical ways to find and fix memory safety issues using modern C++, compiler tools, sanitizers, static analysis and fuzzing, with techniques you can apply directly to real production code.

  8. From C to Rust
    From C to Rust
    Modernizing Production Systems Without Starting Over
    Steve Publications

    Modernize your C codebase without tearing it apart. From C to Rust is a practical guide to introducing Rust where it actually makes sense, building safe boundaries and migrating piece by piece while production keeps running. No hype, no clean-slate fantasy, just real tradeoffs, runnable examples and a path you can follow.

  9. Advanced Windows Programming
    Advanced Windows Programming
    Modern Systems Development for Windows 11
    Steve Publications

    Go beyond the surface of Windows development and explore the platform from the inside out. Covering everything from kernel internals and Win32 APIs to the Windows App SDK, cloud integration, virtualization, and AI, this comprehensive reference equips experienced developers with the knowledge to build high-performance, secure, and modern Windows applications with confidence.

  10. C++ Best Practices
    C++ Best Practices
    45ish Simple Rules with Specific Action Items for Better C++
    Jason Turner

    Level up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!

  11. C From Scratch
    C From Scratch
    Prove it works before you write it.
    William Murray

    Learn C by proving your code correct before you write it. The same methodology behind certified aerospace and medical systems - now applied to learning C from the ground up.

  12. C++23 Best Practices

    For the first time ever, C++23 changes "Hello World" in C++. What kind of fundamental changes does this mean for your code?

  13. C++ Concepts
    C++ Concepts
    Validate your templates compile-time
    Sandor Dargo

    You are going to discover why templates as-is are not enough and how concepts came to the rescue. You are going to learn about how to use them in four different ways with functions, how to use them with classes, what kind of concepts are already delivered with the standard library and how to write new ones from scratch.

  14. Mastering C Programming: A Comprehensive   Guide for Graduate And MCA Students

     Why Should You Study This Book?Comprehensive Coverage: This book covers all essential C programming concepts, from the basics to intermediate topics, making it suitable for students across various academic levels, including Class 12, graduates, and MCA students.Clear Explanations: The concepts are presented in a simple, easy-to-understand manner. Whether you are a novice or have some programming experience, you’ll find the explanations clear and easy to follow.Practical Focus: It includes numerous hands-on examples and practice problems to reinforce the concepts. With each chapter, you will have the opportunity to write real C programs, which will help you solidify your understanding and develop practical programming skills.Real-World Applications: The book does not just cover theory. It guides you through creating practical programs such as a basic calculator, a library management system, and even a text editor. These projects provide a real-world context to what you’re learning, making it easier to grasp how C programming is used in various applications.Skill Development: Learning C programming will sharpen your problem-solving abilities, logical thinking, and analytical skills. These skills are essential not only for programming but also for tackling complex challenges in various fields of study and work.Error Handling and Debugging: The book emphasizes the importance of writing error-free and optimized code. It introduces common pitfalls and debugging techniques, helping students become efficient and error-resistant programmers.Preparation for Further Studies: If you're planning to learn advanced topics like data structures, algorithms, or even system programming, this book provides the foundation you'll need. Mastering C will give you a strong base for learning other programming languages and advanced computing concepts.

  15. Build Your Own Operating System

    A working x86-64 kernel in 90 pages — bootloader, scheduler, FAT12 driver, window manager — all the way to a real PC.