‹ 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. jcranmer · · focus · HN ↗
      The comments gives a link to a recent talk about the motivation for using Rust in Git: <a href="https:&#x2F;&#x2F;github.com&#x2F;bk2204&#x2F;talk-rust-in-git&#x2F;blob&#x2F;dev&#x2F;presentation.adoc#rust-in-git-status-internals-and-features" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bk2204&#x2F;talk-rust-in-git&#x2F;blob&#x2F;dev&#x2F;presenta...

      I wouldn&#x27;t agree with all of those reasons, but it&#x27;s very definitely not &quot;just for the sake of it.&quot; One of the better reasons so many people look to writing some things in Rust is that we now have pretty ample evidence than trying to write a binary file format parser in C is a cornucopia of CVEs that are just simply absent in Rust, and the excuse of &quot;well, but a sufficiently smart programmer doesn&#x27;t write bugs in C&quot; doesn&#x27;t cut it anymore.

      1. coliveira · · focus · HN ↗
        Somehow we have binary file format parsers written in C everywhere, so the real world shows it is possible and we do have programmers capable of doing it.
        1. jcranmer · · focus · HN ↗
          Sure, we can write a binary file format parser in C. We just can&#x27;t figure out how to write one that isn&#x27;t buggy and lets someone infect your computer if you give it sufficiently inventive garbage.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.