Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
How the Browser Paints Pixels: Reflow, Repaint, and Compositing Pipeline Details
A practical deep dive into how browsers convert DOM and CSS into pixels. Covers reflow, repaint, layer creation, composi...
Understanding the Event Loop: Microtasks, Macrotasks, and Frame Budgeting in Browsers
A focused guide to how browsers schedule work: the event loop, microtasks vs macrotasks, and how frame budgeting affects...
How Browsers Implement CSS Cascade and Specificity Under the Hood
A practical deep dive into how browsers apply the CSS cascade and calculate specificity, showing where it matters in lay...
Layout Engines Explained: From Containing Blocks to Intrinsic Size and Flexbox Algorithms
A practical guide to layout engines: why understanding containing blocks, intrinsic sizing, and Flexbox algorithms matte...
Resource Prioritization in Modern Browsers: HTTP/2, HTTP/3, and Scheduler Hints
How browsers schedule network and CPU work shapes real web performance. This article examines HTTP/2, HTTP/3, and schedu...
Optimizing the Critical Rendering Path: Practical Techniques to Reduce First Paint Latency
Practical techniques to shorten the browser critical rendering path and reduce first paint latency for web apps. Focuses...
Memory Management in V8 and SpiderMonkey: Object Lifetimes, Generational GC, and Tuning
A focused comparison of V8 and SpiderMonkey memory management: how each engine tracks object lifetimes, implements gener...
How Browsers Handle Large DOM Trees: Costly Operations and Mitigation Strategies
Large DOM trees are common in complex web apps and content-heavy sites. This article explains which browser operations b...
Implementing Smooth Scrolling: Compositor Threads, Input Latency, and Jank Reduction
Reduce perceived latency and eliminate jank by moving scroll composition off the main thread. This article explains comp...