Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Manual Memory Management: Ownership, Allocation, and Safe Cleanup
Manual memory management remains vital for performance-critical systems, embedded devices, and language runtimes. Unders...
Pointers and References: Understanding Indirection Without Fear
Pointers and references are the building blocks of indirection in software. This article demystifies their uses across s...
Stack and Heap Memory: Choosing the Right Mental Model
Understanding stack and heap memory helps developers reason about performance, safety, and debugging. This article expla...
Recursion and Iteration: Tradeoffs in Real Programs
Recursion and iteration both express repetition, but choosing between them affects performance, readability, and correct...
Big O Notation: Reasoning About the Cost of Code
Big O notation gives software engineers a concise language to reason about algorithm cost. It helps predict performance,...
Arrays, Linked Lists, and Dynamic Lists Compared
Compare arrays, linked lists, and dynamic lists to choose the right structure for performance, memory, and concurrency n...
Stacks, Queues, and Deques in Practical Software
Stacks, queues, and deques are foundational data structures used across modern software, from parsers and schedulers to...
Hash Tables: Fast Lookup and the Cost of Collisions
Hash tables deliver constant-time average lookups for many applications, but collisions and implementation choices drive...
Trees and Tries: Organizing Hierarchical and Prefix Data
Trees and tries are foundational structures for modeling hierarchies and prefix-based data. This article explains when t...