logoalt Hacker News

ndrtoday at 8:28 AM1 replyview on HN

50k LOC wouled be the rust code without tests.

But it's not apples to apples because they seem to have done much more performance work though, this is far from code golfing.


Replies

kikimoratoday at 11:04 AM

RSL’s 36k LoC includes tests and should be compared with 130k LoC, not 50.

Having 90k LoC of tests for 50k LoC codebase also a problem. At least in my experience LLM generate too many tests. It does not evolve test suite but throws more code into it as development happens. Unless I aggressively refactor tests I quickly end up with a test suite that I don’t understand. Then LLM modifies tests to “make code work” and I have no idea if this is a legit edit or LLM cheats. I wonder if the same thing is happening or about to happen with this codebase.