3 ms·
It's almost guaranteed with agents you could do the same job with less than half of 100k lines. I don't know whats impressive in lines of code generated by agen
by staszewski 4mo ago
It's almost guaranteed with agents you could do the same job with less than half of 100k lines. I don't know whats impressive in lines of code generated by agent.
- ndr 4mo agoIt just an anchor. If it were 50k would you say the same down to 25k? And if so how many more times would it apply? The interesting thing is that it was manageable solo (in many ways it's _more_ manageable solo+AIs than with coworkers+(their)AIs), and in such a short amount of time.
- rimliu 4mo agothe interesting thing is how fast it becomes unmanagable.
- ndr 4mo agoAlso that, I suspect that's correlated to how practical is to have multiple people (with their agents) iterating on it.
- kikimora 4mo agoOriginal RSL library is 36k LoC. And this is C++. Rust should be like 50% smaller, that is, 18k LoC. This library is so big that I bet the author has no idea if it works or not. 1300 test generated by AI say nothing about actual quality. In the end it is just a lot of unmaintainable code quickly generated by AI.
- ndr 4mo agoThis is uncharitable, but makes a prediction. I imagine you'd bet the author won't be successfully using this, at MS/Uber or wherever they are, in a year time? Rust makes no promise of being terser than C++, and RSL does less than this considering the optimization. Also it's only 45/50k LOC so not so very from the 36k LOC.
- kikimora 4mo agoYes, I would bet it won't go anywhere. The blog post mentioned the project is 130k LoC multiple times. Where 45/50k LoC comes from? >Rust makes no promise of being terser than C++ True, but Rust has no header files, this alone is a great LoC saver.
- ndr 4mo ago50k 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.
- kikimora 4mo agoRSL’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.
- zahlman 4mo agoHas Rust code generally been found shorter than C++ in practice? I don't see an obvious reason for it.
- pjmlp 4mo agoI see no reason for Rust to be shorter than C++,. when using latest standards.
- ashirviskas 4mo ago> It's almost guaranteed with agents you could do the same job with less than half of 100k lines. That's great, non-test code is only ~47k lines of code.
- sreekanth850 4mo agoFor a startup with limited funding, building a product is no more a bottleneck. every one doesn't have the same access to funding!