← Back to context

Comment by hsaliak

11 days ago

The problem with vibe coded re-writes is that you basically sign off on understanding the generated codebase at that point. Any historical knowledge of the codebase is gone.

This prompt defines the translation as a file for file, line for line port. Seems like historical knowledge will be fine.

  • Having dabbled with both Zig and Rust, they do things so fundamentally differently, it isn’t possible to do exact lines like that.

    • the rust they've written (so far) is highly unidiomatic (and with a ton of unsafe). I can't speak to the zig part, but it seems plausible to me it is line-by-line, horrendous rust.

      Whether or not they can clean it up is an interesting question.

      2 replies →

    • care to attempt a top 3 differences that someone doing this kind of rewrite should know?

      (would teach me a little about Zig, about which i know 0)

      3 replies →

    • You can do this with a bunch of clones. But this will make your software slower and kind of defeats the entire purpose.

  • It makes the git history a bit more confusing to follow if you want to see old changes, but I'm sure a simple wrapper to check for the zig equivalent files as well wouldn't be very difficult.