‹ BackHN Continuity

Thread

Looking forward to Git 2.56 – and 3.0

207 points · 116 comments · chmaynard

  1. coliveira · · focus · HN ↗
    It is regrettable that they're trying to coerce the use of Rust everywhere just for the sake of it. It's a nonsense that is now forced on everyone.
    1. tombert · · focus · HN ↗
      I don't think it's "just for the sake of it". I think they believe that the Rust code will be safer.
      1. coliveira · · focus · HN ↗
        If that's the case, they should stop using git and Linux right now, because it's everything written in C. Having 0.1% of the code in a safe language will not change anything, it's only a bad security blanket.
        1. nvme0n1p1 · · focus · HN ↗
          You don't believe in slowly and iteratively improving a codebase over time? Should git stick with its weird mishmash of C and perl and shell scripts forever, for tradition's sake, performance and maintainability be damned?
        2. aw1621107 · · focus · HN ↗
          > Having 0.1% of the code in a safe language will not change anything, it's only a bad security blanket.

          Just because something does provide an immediate perfect solution does not mean it isn't not worth investigating and/or pursuing.

          Also consider that bugs tend to be more prevalent in new code (e.g., [0]) as a result, you are likely to see more of a benefit from writing new code in a memory-safe language than raw line count proportions would indicate.

          [0]: <a href="https:&#x2F;&#x2F;security.googleblog.com&#x2F;2024&#x2F;09&#x2F;eliminating-memory-safety-vulnerabilities-Android.html" rel="nofollow">https:&#x2F;&#x2F;security.googleblog.com&#x2F;2024&#x2F;09&#x2F;eliminating-memory-s...

        3. baq · · focus · HN ↗
          Rewriting it all in rust with bug for bug compatibility and byte identical outputs won’t cost more than $100k in tokens, but I don’t think this is an answer you’re looking for
        4. devilsdata · · focus · HN ↗
          I don&#x27;t understand your reasoning. Why should they quit git and Linux (and presumably all applications written in C) if they believe Rust is more secure than C?
          1. Joker_vD · · focus · HN ↗
            It&#x27;s the classic &quot;Yet you participate in society. Curious!&quot; response. You don&#x27;t get dislike the current state of the world if you exists in it, apparently.
        5. shakow · · focus · HN ↗
          I hope you don&#x27;t use seatbelts in your car, as they won&#x27;t help you against a fire.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.