CodexCampus Blog
Deep-dive technical guides written for the exact problems engineering students Google at 2 AM.
- #web#security#auth#backend#nodejs
JWT vs Session Cookies — The Real Security Tradeoffs (Not the Blog-Bro Version)
Every auth tutorial picks a side without explaining the mechanics. This article breaks down exactly what JWTs and session cookies actually do, where each one breaks, and how to choose correctly for your project.
July 25, 2025 · 10 min read
- #c#systems-programming#memory-management#os#pointers
What Actually Happens When You Call malloc() — Heap Internals Explained
malloc() isn't magic. This article walks through how glibc's allocator manages the heap with brk(), mmap(), free lists, and bins — and why your memory leak causes are probably not what you think.
July 22, 2025 · 11 min read
- #algorithms#python#graphs#dsa#competitive-programming
How Dijkstra's Algorithm Actually Works — Python Implementation with a Min-Heap
Most tutorials skip the heap optimization. This one doesn't. Step-by-step implementation of Dijkstra's shortest path algorithm in Python using heapq, with time complexity proof and common interview pitfalls.
July 20, 2025 · 9 min read