| ▲ | wayvey an hour ago | ||||||||||||||||
I recently saw a ~60k lines / 3mb .cpp file in one vibe coded project (and yes I was a bit horrified) Surprised it works at all but it apparently does. Not really for a human though and even for an LLM it would be more beneficial for it to be split up. | |||||||||||||||||
| ▲ | NewsaHackO an hour ago | parent | next [-] | ||||||||||||||||
This has to be 1) early LLM vibe coding or 2) “hand” vibe codingwhere the user asked the LLM to code sections and stitches them together manually, and the programmer is a novice. The second part I speak from experience; got to ~2k before realizing this is out of the script range and started to break it up. Regardless, it would be almost impossible to get an SOTA LLM agent to ever do this. | |||||||||||||||||
| |||||||||||||||||
| ▲ | perching_aix 31 minutes ago | parent | prev [-] | ||||||||||||||||
I have seen 30k line cpp files even a decade ago (World of Warcraft server emulator, gameplay logic of a boss enemy), and was told it is fairly normal in large software (even 100K not being unheard of), so I'm not sure if it's that much of an LLM thing. | |||||||||||||||||
| |||||||||||||||||