Daily Depth

Daily Depth

everyday I will dive into a software concept and learn as much as possible about that

Series Tags:

Posts in this series

Daily deepth #9: The Great JavaScript Schism: Beyond V8 and the Battle of Runtimes

To the uninitiated, JavaScript is a monolith—a single, ubiquitous language that powers the web. But as those of us who have spent the last decade debugging "Heisenbugs" across distributed systems know, the reality is far more fractured. JavaScript is not a single entity; it is a collection of feuding city-states governed by a common trade agreement called ECMAScript.

Daily Depth #8: Angular's DOM Update Strategy

Welcome back to Daily Depth! Today, we're diving deep into **Angular's core strategy for efficiently updating the Document Object Model (DOM)**. Unlike frameworks that rely on a Virtual DOM for diffing (like React or Vue), Angular takes a unique and highly optimized approach, leveraging a powerful combination of change detection, a rendering abstraction, and Ahead-of-Time (AOT) compilation to precisely update the UI. This intricate dance ensures your applications are performant and responsive, minimizing costly browser reflows and repaints.

Daily Depth #6: JavaScript's Execution Phases - From Code to Action

Welcome back to Daily Depth! Today, we're embarking on a fascinating journey to understand what truly happens behind the scenes when your JavaScript code runs. We'll break down the intricate multi-phase process that the JavaScript engine (like V8 in Chrome or SpiderMonkey in Firefox) goes through to transform your `.js` files into executable instructions.