Ahmad Awais
CEO ⌘ CommandCode.ai f/k/a Langbase ❯ @Google Dev Advisory Board ❯ Award-winning @GitHub Star // VP DX Eng ❯ Quoted by @SatyaNadella "awesome example for devs"
- I'm building a JIT Differential Rendering engine for a new TUI framework that'll power Command Code. you have exactly 16ms before your eyes detect the flicker. Instead of clear→redraw, we diff X/Y coordinates and surgically update only changed lines. Result: sub-frame updates, zero flicker
- THE MATH
- 1 second = 1000ms 1000ms / 60 FPS = 16.67ms
-
View full threadif prev[y] != next[y] move cursor to y erase line y write next[y] X/Y targeting. Surgical. Sub-frame re-render. There's a lot more that goes into this. Pretty exciting work.