Conversation
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".
> We have a ~16ms frame budget so we have roughly ~5ms to go from the React scene graph to ANSI written.

Holy fucking shit this cannot be real cirno_stare
6
0
3
>Here we found that in some setups we were triggering Garbage Collection too often in our rendering pipeline

WHAT RENDERING PIPELINE YOU ARE WRITING ANSI ESCAPE SEQUENCES TO A VIRTUAL TELETYPEWRITER TO EMULATE A GLORIFIED IRC EXPERIENCE
1
3
3
>Doing this without Claude Code could have taken on the order of 1-2 years for a single engineer, something we would have never been able to prioritize.

A MENTALLY RETARDED MONKEY COULD WRITE A BETTER CLAUDE CODE IN 1-2 DAYS
3
0
2
When I'm First Consul I'm sending all React programmers to do thirty years of hard labor in a Greenlandish uranium mine
0
0
2
@scathach or maybe a combination of chinese peptides and amphetamines
0
0
0
@scathach no clue, I just found it searching for an explanation of shlemiel the painter.

maybe it's AI but the web design has more sovl than you'd expect
1
0
0

@scathach 16ms in a world where even non-gaming laptops come with 120 Hz 3K displays is an awfully long time for fixed-width text layout in a 120x30 cell buffer

2
0
1
@scathach i have never once used claude code. i would like to try opencode someday. but yeah the javascript guys are not alright.
1
0
0
@mia @scathach the concept of caring about framerate in a TUI is hilarious. i know bubbletea/glow etc does but like. its a terminal. it spends most of its time waiting on a foreign GPU to think about boobs. this shit ain't gotta be more than 10fps cat_sad
3
0
0
@icedquinn I wanted to try it until I saw it was a Node monstrosity

It would be nice to have something local for interacting with Chatgpt or Claude (there are some Emacs modes that look pretty cool) but neither of their free tiers gives API access and I'm not going to pay for an LLM
1
0
0
@scathach the paid tiers don't give api access either. the max plan gets sdk access (but not general apis) and opencode had to do shimming to support that.
0
0
1
@icedquinn @mia There was another post in the thread where he was talking about claude code redrawing dozens of times a second and like????
1
0
0

@icedquinn @scathach this line hits different when it comes from a clanker

2
0
1
@mia @scathach if you've already sold your soul to the vibe code you're well beyond objecting to curlbash cat_sad
0
0
0
@mia @icedquinn Oddly poetic that AI people completely and totally lack basic engineering sense
0
0
1

@icedquinn @scathach idk i was getting 60fps in the term when i was experimenting with llama (vulkan)

i know it was 60 because i screencapped it

1
0
0
@scathach @mia there are some attempts at taking the elm framework and moving it to a terminal. its conceptually neat, but generates a lot of garbage, cause elm basically relies on some immediate-esque "draw the whole world from nothing" in the event loop, and then they decide they need to make progress spinners and shit.

i just shrug. the spinners are cute but we were doin that with putch for decades.
0
0
0
@mia @scathach sure, kitty term et all can do it, but claude is a fuckin scrolling log it doesn't need any fps optimization at all.
2
0
0

@icedquinn @scathach i’m using konsole which is on the “at least it’s not VTE” end of the term emu performance spectrum

0
0
0

@icedquinn @scathach also let’s not forget that the TUI thing i was using is written in python (textual-based)

1
0
0

@scathach @icedquinn like, this isn’t even the result of optimization, it’s the result of engineering software instead of brute-forcing clanker prompts

0
0
0
@scathach looking at this thread i thought they did their own text rendering at least but it's actually just a tui? How do you fuck up so badly you have to consider if you make it in time for the next frame and have to compare your shit to a game engine?
0
0
3
@scathach the most stupid thing about LLM code generation is that every goddamn language has a valid syntax grammar graph, one you could probably add weights to, and yet these engines are still doing the markov jumps on internal spaghetti with none of these formal filters that would reduce both error and compute a shitton
0
0
1
@scathach@stereophonic.space the best part is how he just casually glosses over the 11ms that react eats up to talk about the 5ms they have left. this is literally that candles meme, any game developer would laugh their entire ass off about this
1
1
3

@shibao @scathach you could write an entire terminal emulator in doom3 UI scripts and it would run better on a 15yo craptop with integrated graphics than this shit does on hardware that is orders of magnitude faster

0
0
1