charan teja·5h agoConcurrency from First Principles — Part 4Why Atomic Operations Don’t Guarantee Correct Concurrent Programs
charan teja·Oct 20Data-Level Parallelism: From First Principles to CPU, GPU, DPU, NPU, TPU, and Compiler…A comprehensive synthesis of our discussion, using Observe → Measure → Generalize, including the architectural trade-offs, AI training…
charan teja·Oct 17Why Modern CPUs Execute Instructions Out of Order, Yet Somehow Get Everything RightFrom register renaming and Tomasulo’s algorithm to branch prediction, speculative execution, and GPU warps: understanding how processors…
charan teja·Oct 4The Memory Wall: Why a Fast CPU Is Useless If You Can’t Feed ItThe easiest way to understand memory hierarchy is not to start by memorizing L1, L2, L3, SRAM, DRAM, banking, pipelining, and prefetching.
charan teja·Sep 13How Do We Build a Computer From Almost Nothing?Digital Logic Design, Explained From First Principles
charan teja·Sep 13From Transistors to GPUs: Why Modern Computers Look the Way They DoA first-principles journey through integrated circuits, CPUs, RISC and CISC, ILP, SIMD, multicore, GPUs, power, heat, memory, wires, and…
charan teja·Sep 10Information Theory From First Principles: How Humanity Learned to Measure Uncertainty, Update…From sunrise and Bayes to Shannon entropy, compression, noisy channels, Enigma, quantum mechanics, GANs, diffusion models, and LLMs
charan teja·Sep 4Your Database Doesn’t Care About NVMe. Until It Does.Why a B+ tree or LSM storage engine can usually move from SATA SSDs to NVMe SSDs without changing database correctness
charan teja·Aug 25Your Database Is Fighting the Operating System for RAMAnd once you understand why, mmap, buffer pools, PostgreSQL, MongoDB, Oracle, page tables, page faults, the page cache, and the TLB…
charan teja·Aug 11Concurrency from First Principles — Part 3The CPU Executes Instructions Out of Order. Why Doesn’t Everything Break?