Leanpub Header

Skip to main content

Filters

Category: "Compiler"

Books

  1. learn Nim Programming Language basic to advance
    learn Nim Programming Language basic to advance
    Mastering Nim Programming: Build High-Performance Systems, Games, and Web Apps with Python-like Syntax and C-level Speed You’ve probably noticed that most programming books are either too theoretical or filled with outdated examples. When I first started learning Nim, I faced the same frustration. That’s exactly why I wrote this book—not just to teach syntax, but to turn you into a production-ready Nim developer. This isn’t a generic tutorial. It’s a practical, 2026-updated guide that takes you step-by-step from zero to advanced systems programming. 📘 What You’ll Master Inside We always tie theory to real code. Every chapter includes: Modern Nim Core: Understand variables, types, and control flow without boring lectures. Focus directly on patterns professional Nim devs use daily. Metaprogramming Demystified: Macros and templates are Nim’s superpower, but most books overcomplicate them. We’ll make them simple enough for you to write your own DSLs. Systems & Memory Control: Safely handle GC-free modes, manual memory management, and C/C++ interop. This is the skill that lets you build high-performance tools. Real-World Projects: No more “Hello World.” Together we’ll build an async web backend (Jester/Prologue), a 2D game prototype, and a cross-platform CLI tool. Concurrency Done Right: Implement threads, channels, and async/await in practical scenarios without fear of race conditions. 🎯 Who Is This Book For? Python Devs tired of performance bottlenecks who don’t want C++ complexity. C/C++ Programmers who want modern syntax and safety without losing speed. Rust Developers exploring Nim’s gentler learning curve and faster compilation. Students & Hobbyists aiming for careers in compilers, game dev, or embedded systems. 💡 Why This Edition Is Different 90% of Nim content online is based on Nim 1.x or older. This book is built on the 2026 stable compiler, updated standard library, and modern tooling (nimble, nimlangserver). You won’t make the same mistakes I made five years ago. ✍️ Author’s Note I’ve spent years in systems programming and open-source contribution. I wrote this book because when I was learning Nim, there was no comprehensive, up-to-date resource like this. My goal is simple: flatten your learning curve so you can achieve in weeks what took me months. Get Started Now Nim isn’t just a language—it’s a different way of thinking. If you want both clean code and raw performance, this book will be the most important step in your journey. 📥 Read the free sample chapter to see if this book is right for you!
    MFoundation

    Mastering Nim Programming: Build High-Performance Systems, Games, and Web Apps with Python-like Syntax and C-level SpeedYou’ve probably noticed that most programming books are either too theoretical or filled with outdated examples. When I first started learning Nim, I faced the same frustration. That’s exactly why I wrote this book—not just to teach syntax, but to turn you into a production-ready Nim developer.

  2. Building Programming Languages with Rust
    Building Programming Languages with Rust
    From Lexers to LLVM: A Complete Guide to Language Implementation
    Steve Publications

    Learn how to build a modern programming language from scratch in Rust. By implementing a complete language called Rune, you will explore every stage of language design, from lexing and parsing to type checking, virtual machines, LLVM code generation, and developer tooling, with practical code and clear explanations throughout.

  3. Rust for Linux Programming
    Rust for Linux Programming
    Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII
    GitforGits | Asian Publishing House

    I wrote this book to show exactly what happens when you add Rust to the kernel. Not as a toy. Not as a single driver in a conference demo. It's a full module that covers process management, memory allocation, file systems, networking, device drivers, inter-process communication, and even machine learning inference. It's all built on safe abstractions, all compiled into one loadable binary, all tested on a running kernel. You'll find that each chapter adds new source files to the same module.