What really happens after you press Run? Source code is only the beginning. Before a program can do useful work, it may be parsed and optimized, converted into object code, linked with libraries, loaded into virtual memory, initialized by a runtime, scheduled as one or more threads, and finally executed as machine instructions through CPU pipelines, caches, and memory systems. From Source Code to CPU gives programmers a connected understanding of that entire journey. Beginning with compilation, the book shows how lexers, parsers, semantic analysis, intermediate representations, optimization, code generation, calling conventions, object files, linkers, and executable formats transform human-readable code into something a machine can run. You will then move beneath the binary into processor architecture, registers, instruction pipelines, branch prediction, caches, SIMD, virtual memory, page tables, TLBs, stacks, heaps, allocators, garbage collection, processes, loaders, threads, scheduling, synchronization, system calls, files, networks, and asynchronous I/O. Practical case studies connect these concepts to real debugging and performance problems: failed program startup, unexpected memory growth, concurrency bottlenecks, dependency failures, cache-sensitive performance, latency spikes, and security boundaries. The final chapters expand the model into modern execution environments, including containers, virtual machines, WebAssembly and WASI, eBPF, GPUs and heterogeneous computing, serverless workloads, snapshots, sandboxing, memory safety, and confidential computing. Using examples drawn from C, C++, Rust, Java, .NET, JavaScript, Python, Linux, Windows, macOS, x86-64, Arm64, RISC-V, and WebAssembly, the book teaches principles that remain useful even as individual tools and platforms change. If you have ever wondered what happens between the code you write and the work the machine actually performs, this book gives you the map.
Autores populares
Icon Group International (283) Publishing lmgdaw (250) Nikolay Krechet (145) Kennie B Journals (120) Charles Nehme (106) Riddler Books (105) webmarbook design (103) Mint and Cherry Notebooks (82) Jillo Trukudo (80) Ondrej Sarek (76) Iwona Makara (74) Just Visualize It (71) Moonpeak Library (69) Quick Witted Coconut (69) Mary Hirose (67) Talor Press (67) Various (67) Marina Buchholz B.Eng (58) Miller Sye (58) NAK Legal Publishing (58)