‹ BackHN Continuity

Thread

From the creator of Redis; run LLM locally with ds4

359 points · 103 comments · fibo

  1. pulkitsh1234 · · focus · HN ↗
    curious, why did antirez go with C instead of something like Rust ?
    1. wg0 · · focus · HN ↗
      Because C is the simplest language that a competent programmer learn just in an afternoon pretty much.

      I like C's simplicity so much. The only other language that comes close in simplicity and minimalism is go.

      1. Flere-Imsaho · · focus · HN ↗
        So if LLMs can write C really "well" - as in they can keep track of all the memory allocations, branches and conditions that would prevent the typical memory problems associated with C...then do we even need Rust anymore? The control of the memory allocations and layout in C does theoretically mean you can ultra-optimise the code. The LLMs can write 1000s of unit tests and they're really good at fuzzing.

        I don't know Rust well enough to understand what else it would provide over the safe memory guarentees?

        1. zozbot234 · · focus · HN ↗
          > So if LLMs can write C really "well" - as in they can keep track of all the memory allocations, branches and conditions that would prevent the typical memory problems associated with C...then do we even need Rust anymore? The control of the memory allocations and layout in C does theoretically mean you can ultra-optimise the code. The LLMs can write 1000s of unit tests and they're really good at fuzzing.

          If.

          (Mind you, fuzzing a program with any non-trivial input space can only ever prove that it is unsound. It can never prove that the program is sound.)

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.