‹ BackHN Continuity

Thread

Topcoat is pushing the boundary of server applications with Rust

113 points · 100 comments · sagacity

  1. lolakutty · · focus · HN ↗
    Why bother with rust when you can write it in C and ask an LLM to weed out the memory bugs?
    1. cultofmetatron · · focus · HN ↗
      > write it in C and ask an LLM to weed out the memory bugs?

      because a non-determinist chain of reasoning is not the same as a fully deterministic algorithm. Its the best tool when a deterministic system is not feasable.

      1. lolakutty · · focus · HN ↗
        >because a non-determinist chain of reasoning is not the same as a fully deterministic algorithm.

        It is not. But rust's borrow checker has its costs. It forces awkward implementations. Either suffer the horrible life time syntax, or pay the price of clone everywhere.

        If you use C and run LLMs over it once in a while, I think it will get you most of the way.

        1. tancop · · focus · HN ↗
          99% of code only needs to know 'static and 'a, maybe 'b when you take two references and return one but that's pretty rare. You only get into complex lifetimes if you write the kind of code that belongs in a library.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.