logoalt Hacker News

ernst_klimtoday at 10:11 AM5 repliesview on HN

> 500k lines of code

Isn't it a simple REPL with some tools and integrations, written in a very high level language? How the hell is it so big? Is it because it's vibecoded and LLMs strive for bloat, or is it meaningful complexity?


Replies

samusiamtoday at 12:34 PM

I just checked competitors' codebases:

- Opencode (anomalyco/opencode) is about 670k LOC

- Codex (openai/codex) is about 720k LOC

- Gemini (google-gemini/gemini-cli) is about 570k LOC

Claude Code's 500k LOC doesn't seem out of the ordinary.

show 2 replies
aletoday at 2:45 PM

There’s probably a subconscious incentive to make a tool that’s “complex” because the underlying LLM also is complex.

carterschonwaldtoday at 10:58 AM

yeah its honestly full of vibe fixes to vibe hacks with no overarching desig. . some great little empirical observations though!i think the only clever bit relative to my own designs is just tracking time since last cache ht to check ttl. idk why i hadnt thought of that, but makes perfect sense

show 1 reply
spiderfarmertoday at 10:37 AM

I don't know if you're mindlessly repeating the HN trope that JS/typescript/Electron is bad and that all bloat can easily prevented, but if you're truly interested in answers to your questions: RTFA.

fragmedetoday at 10:34 AM

How many LoC should it be, for that kind of program?

show 3 replies