AI rewrites Rails app in Rust and Elixir, but you still have to think

I'm sorry, but you still have to think

DHH had an AI agent rewrite Campfire from Ruby on Rails to Rust and Elixir. The results reveal that without human oversight, critical decisions like backwards compatibility and concurrency handling become coin flips. Benchmarks show the Rust version dropping 99% of notifications under load, while Elixir times out on HTTP requests. The author argues that coding isn't solved and you still need to understand trade-offs.

I regret to inform you, that no, coding is not likely 'solved', and you still need to know what you're doing.
  1. variety8675

    This article just reminds me that workslop is so hard to counter because it takes no effort to produce and immense effort to debunk

  2. discreteevent

    It's worth noting that the context here is a system that was translated by an LLM which is the ideal use case for it. 90% of the thinking had already been done by developers of the existing system.

  3. Ozzie_osman

    You need to understand the system you're working on enough to make well-informed decisions about its current and future states.

    In some cases you can get away with not reading the code. And maybe in the future that will be more common. But for now, I personally prefer to read (or skim) the code, and not abdicate to AI.

  4. userbinator

    Most of this article went over my head, but I think this is key point:

    if your prompt is not specific enough, many decisions are a coin flip.

    If you are using AI, you still have to know what you want it to do. If you are a project manager and give your team incomplete requirements, the result may not be unlike this.

  5. adventure331

    Yes I agree thinking is still needed off course, but it has never been easier to ship 'half baked' things that don't actually matter and just works. What I mean is, if something has little proven business value, why waste time making sure it is correctly implemented? I'd rather spend time thinking about things that has actual proven business value, otherwise I'm not opposed to shipping something that I understand only 60 or 70% and save energy. ie: how it works at a high level.

    If we are going to the moon, then by all means I think we should probably scrutinize every single line of code, but most business aren't going to the moon.

  6. Fr0styMatt88

    Yep AI will just invent the missing stuff; that's not purely an AI thing, we do the same as well until we become experienced enough to know what questions to ask in order to narrow down vague requirements.

    If I'm tired, yep I'm going to write more sloppy code, I'll put less thought into it and be more tempted to tell the AI 'just do it'. That hasn't changed. I'm not sure where this new breed of "don't read the code" is coming from when it's actual software engineers making the statement; maybe it's just over-excitement and it'll die down (hopefully).

    Or it's just over-simplification -- I don't read ALL the code either anymore, but at the same time I'm reading SOME of the code. Tell your AI agent you're doing a code review workshop, ask it to select ten files at random and then go through them with you one at a time. Ask it to review common anti-patterns and put them in your coding standard. Then you can start asking it to review and fix code against your standard as a first pass. You'll still need to manually review the code to keep it in check, but at least you can make it a bit less daunting and a little more fun by actively collaborating on the AI with the review.

    I'm learning it's just a 'different kind of tired'. AI has made some stuff much more efficient, including the choice between efficiency and carefulness. You can make that choice at a micro level and very quickly now if you want. There's still fatigue though, it's just a different kind of fatigue. You st […]

  7. wdr1

    All of this "you need to understand the code" discussion reminds me of when I was an undergrad. I worked in a computer with someone a fair bit older -- they had even worked with punchcard systems. He was always happy to oblige us with war stories from the olden times & we would lap them up.

    He favorite axe to grind was how my generation put too much trust into the compiler. "Just because it compiles doesn't mean you're done. You need to look at the actual assembly. Compilers can be VERY inefficient."

    This was in the 90s. There was some merit to his claim.

    But today? How many people who write Javascript look at the actual assembly code that is run? Not many.

    I can't help but wonder if this current "you need to understand the code" is the same thing all over again. And if in a few years, almost nobody will look at the generated Python, Ruby, etc.

  8. lordnacho

    It's not clear how the re-writes were done.

    If it were me, I would start by getting a summary of what problems the existing solution solves. I would also make sure that summary had the non-functional requirement. Maybe write a test suite that opens the page and does all the stuff.

    Then ask the LLM to implement in another language, with those solutions in mind, but first coming up with reasons why the target language might not be as good, and where it might have useful features that the original language didn't. Use the test suite to check if things are working.

    I honestly don't think you would land far away. You would have to answer a few questions along the way, but it would mostly be plain sailing.

    I would expect to be able to do this with very little human attention, whereas a language rewrite two years ago might take a whole month, not including learning the new language.

More from this day

2026-10-11