upvote
Claude Code's renderer is more complex than a game engine

(spader.zone)

> Claude Code is churing out an order of magnitude more instructions than SM64 did, to…diff a terminal panel’s worth of text and draw it.

What bothers me is that the maintainer quoted at the beginning of the piece is holding this up as almost a virtue: look at this complex thing we've done! But... at its core it's a TUI rendered perhaps what is the most complex and least efficient way possible.

I'm not part of a hypergrowth LLM company, but I do wonder why someone there would take such pride in such inefficient choices.

And as someone who's been using TUIs for ... more years than I'd care to admit ... it's not a particulalry stunning example of one either. I like it fine. It mostly does the job. But it's pretty simple as TUIs go and I could think of ways it could be better.

reply
The title is a lie - the original statement was that it was closer to “a small game engine” than a basic text UI.

CC has a complex scene rendering pipeline with a 16ms/frame budget. That is much closer to a game engine than a print statement.

reply
And the further problem with this statement is any game engine comprises quite a lot more than merely a renderer.
reply
So erm, is this a good thing?

I've only been using it for a month, but it quickly becomes incredibly laggy. I have to kill it completely and reopen it[1]. I've also had some unique hard locks never before seen on my machine[2], only while it's open and doing things.

I also haven't noticed it outputting anything that would warrant it being more complex than ncurses or the current fashionable equivalent?

[1] /clear helps but not 100%, and the time to get back to lag land increases each time

[2] (Framework 13" AMD 7840U 32GB RAM)

reply
It’s not a good thing, because it’s not a thing. The title is a sarcastic reference to the fact that it uses an order of magnitude more instructions per frame than SM64 did
reply
Sorry, I was referring less to the sarcastic elements of this article and more the not sarcastic elements of the Claude Code engineer's post on Twitter / Bsky.
reply
Ah, I understand. Yeah, it read to me as a "good thing" in the sense of "look, it's slow, but it has to be slow". That the complexity was inherent and therefore in some sense good.
reply
https://www.youtube.com/watch?v=LvW1HTSLPEk

this statement is ridiculous and stinks of AI bro superiority

reply
Agreed
reply
Too bad it can't write usable GDScript code.
reply
And it still can’t display Arduino .ino files as text.
reply