IA Dev articles
Browser-first frontend engineering, architecture and performance articles by Ibrahim Aftab.
- Website
- ibrahimaftab.com · all feeds from this site
- Feed URL
https://ibrahimaftab.com/rss.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
A Transferred Buffer Has One Owner
Understand ArrayBuffer transfer, detached typed-array views, cloning versus sharing, and how ownership changes the retry design of a worker pipeline.
-
Shutdown Is a Protocol, Not an Exit Call
Design graceful shutdown as a bounded protocol: stop admitting work, drain accepted requests, close dependencies in order, and test forced termination.
-
Your Grid Is Overflowing Because Its Minimum Is Not Zero
Debug CSS Grid overflow by separating track sizing, automatic item minimums and content wrapping, with a small reproducible example and practical fixes.
-
A React Key Is a State Boundary
Understand React keys beyond list warnings: isolate form state, avoid index-key bugs during reordering, and choose deliberate boundaries for state resets.
-
A Save Button Needs a Precondition
Stop silent overwrites across browser tabs: connect HTTP If-Match to an atomic version check, preserve conflicting drafts, and test the lost-update race.
-
A Modal Is a Browser State, Not a Z-Index
Understand why modal dialogs need top-layer placement, focus management and inertness, with a native HTML dialog example and keyboard debugging checklist.
-
Backpressure Is a Contract, Not a Buffer Size
Understand backpressure with a tested Web Streams example, explicit overload policies, cancellation boundaries and practical frontend debugging steps.
-
The Thundering Herd Begins at Cache Expiry
Understand cache-expiry bursts with a runnable JavaScript coalescer, bounded stale serving, refresh ownership and practical failure-mode checks.
-
The Memory Model Is the API
Understand C++ release/acquire publication with a runnable example, a debugging exercise, and explicit ownership, lifetime and reuse contracts.
-
False Sharing: When Independent Variables Fight Over One Cache Line
Understand false sharing through a checked C++ example, cache-line ownership, measurement pitfalls and the trade-offs of padding versus local aggregation.
-
The Node.js Event Loop Is a Priority System Without Priorities
Node.js queues impose ordering, not customer priorities. Understand microtask starvation, fair yielding, worker-pool contention and deadline overshoot.
-
ArtCraft and the Collapse of Software’s First-Draft Cost
ArtCraft’s Rust creative apps show how AI accelerates implementation, while workflow reliability, compatibility and verification remain separate challenges.
-
The Garbage Collector Is a Latency Scheduler
Garbage collection is not only memory reclamation. It schedules tracing, evacuation and compaction work against application latency and throughput.
-
Uniqueness Is a Concurrency Protocol
Learn why checking before insertion races, how PostgreSQL unique indexes coordinate writers, and how partial indexes encode lifecycle rules.
-
Aborting a Request Does Not Undo the Work
Learn what AbortController stops, why HTTP cancellation cannot prove rollback, and how operation identity and explicit job lifecycles prevent costly confusion.
-
A Responsive Component Should Know Its Container
Learn why reusable components need container queries, how inline-size containment works, and when media queries or ResizeObserver still belong.
-
Stop Adding Layers: Homa Shows How Real Infrastructure Innovation Happens
Homa's RPC-first transport design shows a deeper engineering lesson: when workloads change, the right answer may be a new primitive, not another layer.
-
Your Page Can Exist Before It Is Rendered
Explore how CSS content-visibility defers offscreen rendering, why intrinsic size matters, and what to verify before using it on long pages.
-
The Frame Is the Unit That Users Feel
Why short JavaScript tasks can still produce slow frames, and how Long Animation Frames help diagnose rendering and interaction delays.
-
The Browser Is a Priority System: Why Main-Thread Scheduling Matters More Than Raw JavaScript Speed
Why browser responsiveness depends on task priority, yielding, and cancellation as much as raw JavaScript speed.