Learnings from 100K lines of Rust with AI (2025)
171–180 of 225 posts
Re: Learnings from 100K lines of Rust with AI (2025)
#172We're working on a large Rust codebase, heavily assisted development with Claude and Codex, and one critical workflow is after you have written a spec, have the other LLM critique it thoroughly. This back and forth will take quite a while, but the resulting implementation plan will be 10x better than the original. You can automate this by giving Codex a goal, and a skill to call Claude to review the implementation sp…
This is astrology for devs.
Re: Learnings from 100K lines of Rust with AI (2025)
#173Earlier quoted context omitted.
This 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.
Yes, 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.
But it's not apples to apples because they seem to have done much more performance work though, this is far from code golfing.
Re: Learnings from 100K lines of Rust with AI (2025)
#174You can’t have contracts defined in comments in code because there’s no guarantee they won’t be deleted or changed.
Even better, we need the ability to embed directives to LLMs which are NOT comments, but a type of programming construct specifically for this purpose.
Re: Learnings from 100K lines of Rust with AI (2025)
#175We're working on a large Rust codebase, heavily assisted development with Claude and Codex, and one critical workflow is after you have written a spec, have the other LLM critique it thoroughly. This back and forth will take quite a while, but the resulting implementation plan will be 10x better than the original. You can automate this by giving Codex a goal, and a skill to call Claude to review the implementation sp…
This is astrology for devs.
and in both cases i both “know” that i can tell the difference and “know that i cannot tell the difference”. what anyone takes from that in terms of what it says about me, personally, is a bit of a Rorschack test, but Astrology is about as apt a description as there is… xD
Re: Learnings from 100K lines of Rust with AI (2025)
#176Re: Learnings from 100K lines of Rust with AI (2025)
#177Earlier quoted context omitted.
This is astrology for devs.
Unless you can somehow provide some arguments against it, I feel like you're the one who is trying to cargo-cult stuff here. Say what you will with proper reasoning or arguments if you feel compelled, tired reddit-commentary like that helps no one.
Re: Learnings from 100K lines of Rust with AI (2025)
#178We're working on a large Rust codebase, heavily assisted development with Claude and Codex, and one critical workflow is after you have written a spec, have the other LLM critique it thoroughly. This back and forth will take quite a while, but the resulting implementation plan will be 10x better than the original. You can automate this by giving Codex a goal, and a skill to call Claude to review the implementation sp…
This is precisely how I used to use Beads before I made GuardRails (I wanted something slightly simpler, but similar with more 'guard rails'). I braindump everything I want to build, I ask Claude to do market level research. I then ask Claude to ask clarifying questions, when I ask Claude to be critical of its conclusions and provide the top options and to justify it. I also question Claude and say its okay to disagr…
Re: Learnings from 100K lines of Rust with AI (2025)
#179Earlier quoted context omitted.
If you ask 10 different humans to produce the spec with the same information (prompt and context) they will also produce 10 unique answers that will contradict each other and (depending on who you asked) may be just as confident. There are real decisions to be made when going from a vague prompt to a spec. It's not surprising that an LLM would produce different specs for the same work on different runs. If the prompt…
LLMs aren't people. They don't reason. They're token generators, a black box. Your analogy falls on its face with any scrutiny.
Re: Learnings from 100K lines of Rust with AI (2025)
#180Earlier quoted context omitted.
LLMs aren't people. They don't reason. They're token generators, a black box. Your analogy falls on its face with any scrutiny.
Aren’t people pattern matching neural networks as well? Why does being a token generator mean something is unreliable? Further, why does that mean “it doesn’t reason”. Logic can be encoded in language, symbols or code. If I say “all apples are red” -> “all fruit in the bowl are apples” -> “therefor all the fruit are red”. It doesn’t really matter if I understand the logic or what red is or fruit/apples are, the logic…