5 ms·
He doesn't: https://x.com/trq212/status/2014051501786931427 https://x.com/trq212/status/2014051501786931427
by easygenes 8mo ago
He doesn't: https://x.com/trq212/status/2014051501786931427 https://x.com/trq212/status/2014051501786931427
- derrida 8mo agoAh, the hell site, no click.
- replwoacause 8mo agoDon't link out to x, its trash
- cebert 8mo agoDepends on who you follow
- stavros 8mo agoWhat? Technology has stopped making sense to me. Drawing a UI with React and rasterizing it to ANSI? Are we competing to see what the least appropriate use of React is? Are they really using React to draw a few boxes of text on screen? I'm just flabbergasted.
- xpe 8mo agoThere is more than meets the eye for sure. I recently compared a popular TUI library in Go (Bubble Tea) to the most popular Rust library (Ratatui). They use significantly different approaches for rendering. From what I can tell, neither is insane. I haven’t looked to see what Claude Code uses.
- TZubiri 8mo agoIt's AI all the way down But it's very subsidizes when compared to API tokens, so we are all being paid by VCs to write prompts actually.
- someguyiguess 8mo agoThe further I scroll the more validated I feel for having the very same reaction.
- selcuka 8mo agoFor those who don't want to visit X: 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.
- crgwbr 8mo agoImplementation details aside (React??), that sounds exactly like “just a TUI”…
- someguyiguess 8mo agoAlso React?? One of the slowest rendering front-end libraries? Why not use something … I don’t know … faster / more efficient?
- esafak 8mo agoKudos to them for figuring out how to complicate what should have been simple.
- TZubiri 8mo agoHow ridiculous is it that instead of a command line binary it's a terminal emulator, with react of all things!
- someguyiguess 8mo agoOk I’m glad I’m not the only one wondering this. I want to give them the benefit of the doubt that there is some reason for doing it this way but I almost wonder if it isn’t just because it’s being built with Claude.
- someguyiguess 8mo agoInteresting. On first glance that seems over engineered. I wonder what the reason is for doing it that way?
- Ey7NFZ3P0nzAe 8mo agoAnd that's why it's taking so much CPU and is a pain to use with tmux.