logoalt Hacker News

aleyesterday at 2:44 PM2 repliesview on HN

Somebody somewhere is bragging to someone about using React to render a grid of ASCII characters.


Replies

GoatInGreyyesterday at 3:46 PM

https://x.com/trq212/status/2014051501786931427

" Most people's mental model of Claude Code is that "it's just a TUI" but it should really be closer to "a small game engine".

For each frame our pipeline constructs a scene graph with React then -> layouts elements -> rasterizes them to a 2d screen -> diffs that against the previous screen -> finally uses the diff to generate ANSI sequences to draw

We have a ~16ms frame budget so we have roughly ~5ms to go from the React scene graph to ANSI written. "

show 2 replies
JDupsyesterday at 3:39 PM

[dead]