Ahmad Awais
@ahmadawais.com
3 months ago if 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.
💬 0
♻️ 0
❤️ 0
if 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. JIT Diff: find diff && delta, update delta
Frame N Frame N+1
--------- ---------
? Name ? Name <- same
> hell > hello <- delta
Only line 2 redraws done before refresh
PROBABILITY
P(flicker) = gap / 16ms
0ms = 0%
1ms = 6%
8ms = 48%
16ms = 96%
THE TECHNIQUE
Standard: clear all, redraw all CRTs synced to it
Standard won globally
FRAME BUDGET
30Hz = 33ms
60Hz = 16ms <-- standard
120Hz = 8ms
THE FLICKER PROBLEM
BAD:
ERASE-----gap-----WRITE
0ms 10ms 20ms
^
refresh here = BLANK
GOOD:
ERASE+WRITE
0ms 2ms
^ You have 16ms. Funny how my electrical engineering degree is coming in play here. 60 FPS = 60 Hz (get it?).
THE TIMELINE
0ms 16ms 32ms
| | |
[F1] [F2] [F3][...]
Miss the window = flicker
WHY 60?
US power = 60Hz 1 second = 1000ms
1000ms / 60 FPS = 16.67ms THE MATH 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 It is a simple as
```
vitest --tags-filter="frontend && !(slow || flaky)"
```
No more scattered workarounds. Your test organization finally matches how you think about your code.
Wanna know more?
Check out the docs
main.vitest.dev/guide/test-t... Every test suite eventually categorizes tests: "skip this in CI," "this one is flaky," "that one needs more time." and so on. Vitest 4.1 (in beta right now) introduces Test Tags: You can now define these categories globally, attach config or behavior and eventually filter what runs.
#ZedEditor Download Zed and view the full changelog here:
zed.dev/releases/sta... SSH remoting now supports Windows as a target platform.
Rename terminal tabs via right-click or double-click. Cleanly label what's important to keep track of. Thanks tacshi!
Zoom and pan around images in the image viewer. No more squinting at screenshots or diagrams. Thanks MostlyKIGuess!
🚀 We just shipped v0.222!
Edit prediction now supports multiple providers: GitHub Copilot's Next Edit Suggestions, Ollama, Mistralai's Codestral, Sweep, and Mercury Coder.
zed.dev/blog/edit-pr... Codex migrated Mastodon iOS to Tuist. Clean builds: 110.8s → 22.3s (80% faster). Agent handled the feedback loop autonomously. Manual migrations take days, this took hours. Wrote a reusable skill for future migrations.
https://tuist.dev/blog/2... You’re right to call that out. That ‘up to 24 hours’ message is misleading and not typical. We’ve flagged it internally and are updating the copy. If you’re still stuck, drop a support ticket number so we can route it.
Shipping AI endpoints? Add rate limits before your first “why is the bill so high” moment.
Rules, retries (including exponential backoff), and how to monitor 429s: www.netlify.com/blog/how-to-... 6/
The unified toolchain is taking shape.
Next year, more tools like Vite+ and Oxfmt will be on the list 👀
Thanks for building with us 🚀
Now, time to try out the tools if you don't use them already!
Want to see more? Take a look at the full survey
2025.stateofjs.com/en-US/librar... 5/ Oxlint ◆ Was not in the shortlist due to being new but... ◆ #3 most mentioned write-in ◆ Growing fast without being a survey default Oxlint has a growing amount of users and is the fastest linting tool out there.
4/ Rolldown ◆ #2 in overall interest (right behind Vitest) ◆ 94% satisfaction from existing adopters ◆ #7 tool that participants want to read more about Impressive for a bundler that was mostly in beta over the last year!
3/ Vitest ◆ Most adopted technology in the JS ecosystem ◆ #2 in satisfaction overall (right behind Vite) ◆ Interest is continuously growing since 2022 ◆ Users praise ESM-first design, browser mode, and DX Vitest is the default for modern testing.
2/ Vite ◆ Highest overall satisfaction (98%) ◆ Vite 8 with Rolldown is anticipated ◆ Participants are looking forward to Full Bundle Dev Mode Vite is the go-to build tool for modern web development.