Tag: #cs-fundamentals
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 63 posts
Compilers and Interpreters: How Code Actually Runs — Everything Developers Need to Know
A complete deep-dive into how code executes! Lexing → Parsing → AST → IR → Code Generation, Compiler vs Interpreter vs JIT, V8 (JS), CPython (Python), JVM (Java), GCC/LLVM, GraalVM — build the performance intuition every
2026-03-23 · 17 min read #compiler#interpreter#lexer#parser#astData Structures Complete Guide 2025: Array to Trie, B-Tree — Every Structure for Interviews
Every data structure for interviews with visualization and code! Array, LinkedList, Stack/Queue, HashMap, BST, AVL, Heap, Trie, Graph, Union-Find, B-Tree, Skip List, Bloom Filter — Big-O comparison table and practical us
2026-03-23 · 24 min read #data-structures#algorithms#array#linked-list#treeOS Core Concepts Complete Guide: Everything About Operating Systems for Developer Interviews
A complete guide to OS core concepts frequently asked in developer interviews, with practical code examples. Process vs Thread, Virtual Memory and Page Faults, CPU Scheduling (CFS), Synchronization (Mutex/Semaphore/Spinl
2026-03-23 · 28 min read #operating-system#process#thread#memory#virtual-memory[OS Concepts] 20. Linux and Windows 10 Operating System Comparison
Compares Linux kernel architecture, process/memory/filesystem management, kernel modules with Windows 10 architecture, object manager, NTFS, and WSL.
2026-03-19 · 10 min read #operating-system#cs-fundamentals[OS Concepts] 17. Protection: Access Control and Sandboxing
Covers protection goals, protection rings, protection domains, access matrix, RBAC, MAC (SELinux), sandboxing, and code signing.
2026-03-19 · 10 min read #operating-system#cs-fundamentals[OS Concepts] 14. File-System Implementation
Covers file system structure, on-disk/in-memory structures, VFS, directory implementation, allocation methods, free space management, and journaling.
2026-03-19 · 11 min read #operating-system#cs-fundamentals[OS Concepts] 11. Mass-Storage Structure
Covers HDD structure and disk scheduling (SCAN, C-SCAN), NVM (SSD) devices, RAID levels (0-6), object storage, and cloud storage.
2026-03-19 · 10 min read #operating-system#cs-fundamentals[OS Concepts] 08. Deadlocks: Prevention, Avoidance, Detection, Recovery
Covers deadlock characteristics (4 conditions, resource allocation graph), deadlock prevention, deadlock avoidance (safe state, banker's algorithm), and deadlock detection and recovery.
2026-03-19 · 10 min read #operating-system#cs-fundamentals[OS Concepts] 05. CPU Scheduling Algorithms
Covers CPU scheduling concepts (CPU burst, preemptive/non-preemptive), scheduling criteria, algorithms (FCFS, SJF, priority, round robin, multilevel queue/feedback queue), thread scheduling, multiprocessor scheduling, an
2026-03-19 · 8 min read #operating-system#cs-fundamentals[OS Concepts] 02. Operating System Structures and Services
Covers OS services (UI, program execution, I/O, file system, communication, protection), system call types and APIs, OS structures (monolithic, layered, microkernel, hybrid), and the system boot process.
2026-03-19 · 7 min read #operating-system#cs-fundamentals[OS Concepts] 19. Networks and Distributed Systems
Covers network types, TCP/IP model, advantages and challenges of distributed systems, distributed file systems (NFS, GFS, HDFS), MapReduce, and distributed coordination.
2026-03-19 · 10 min read #operating-system#cs-fundamentals[OS Concepts] 16. Security: Threats and Defenses
Covers security threat overview, program threats (malware, code injection, buffer overflow), system/network threats, cryptography, authentication, and security defenses.
2026-03-19 · 9 min read #operating-system#cs-fundamentals[OS Concepts] 13. File-System Interface
Covers file concepts (attributes, operations), access methods (sequential, direct), directory structures, file sharing, and protection (ACL, permissions).
2026-03-19 · 9 min read #operating-system#cs-fundamentals[OS Concepts] 10. Virtual Memory: From Demand Paging to Thrashing
Covers virtual memory concepts, demand paging (page faults, performance), copy-on-write, page replacement algorithms (FIFO, optimal, LRU, clock), frame allocation, thrashing (working set model), and memory-mapped files.
2026-03-19 · 12 min read #operating-system#cs-fundamentals[OS Concepts] 07. Synchronization Problems: Producer-Consumer, Dining Philosophers
Covers classic synchronization problems (bounded buffer, readers-writers, dining philosophers), POSIX synchronization (mutex, semaphore, condition variables), Java synchronization, and alternative approaches.
2026-03-19 · 22 min read #operating-system#cs-fundamentals[OS Concepts] 04. Threads and Concurrent Programming
Covers thread concepts and motivation, multicore programming (Amdahl's Law), multithreading models, thread libraries (Pthreads, Java), and implicit threading (thread pools, fork-join, OpenMP).
2026-03-19 · 9 min read #operating-system#cs-fundamentals[OS Concepts] 01. What is an Operating System
Covers the definition and role of an operating system, computer system organization (interrupts, storage hierarchy, I/O), system architecture (multiprocessor, multicore, NUMA), OS operation modes (dual-mode, timer), and
2026-03-19 · 7 min read #operating-system#cs-fundamentals[OS Concepts] 18. Virtual Machines: From Hypervisors to Containers
Covers VM benefits, Type 1/Type 2 hypervisors, hardware-assisted virtualization (VT-x), paravirtualization, containers (Docker, Kubernetes), and VM migration.
2026-03-19 · 10 min read #operating-system#cs-fundamentals[OS Concepts] 15. File-System Internals
Covers file system mounting, partitions, block groups, ext4 internals, APFS, performance optimization, and NFS.
2026-03-19 · 9 min read #operating-system#cs-fundamentals[OS Concepts] 12. I/O Systems
Covers I/O hardware (ports, buses, controllers), polling, interrupts, DMA, application I/O interfaces, and the kernel I/O subsystem.
2026-03-19 · 8 min read #operating-system#cs-fundamentals