7 comments

  • MeetingsBrowser1 hour ago
    This is a collection of forked open source crates bundled together with open model vibe coding?<p>&gt; the code written by AI is more robust than by humans because more edge cases are tested.<p>This is at least a mildly concerning take to see in a blog post announcing a solution to supply chain security.<p>It seems like this boils down to: don’t trust the original authors to maintain the packages they wrote, trust me and my LLM instead.
    • quadhome1 hour ago
      And just decided to relicense those forks with no real regard.<p>Also, it’s a loooong way from the self-contained goal—- there are a lot of third-party crates as dependencies still.<p>Yikes.
    • the__alchemist48 minutes ago
      This whole article is red flags. (Mental health issues including narcissism?)<p><pre><code> - No mention of what specifically it does - No mention of the advantages and stated reasons for having small std and core libs - Libs mentioned as being &quot;shipped&quot; by the author have no commits by him or her. - No comparison in the specifics to how it&#x27;s handling - Uses phrasing which might (IMO deliberately) confuse people into thinking this is official.</code></pre>
  • rafram53 minutes ago
    My personal preference would be to avoid a project whose maintainers push vibe-coded commits with one-line messages like &quot;crypto: accelerate aes256&quot; [1], especially when said commits introduce large blocks of unreadable inline assembly!<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-stdx&#x2F;stdx&#x2F;commit&#x2F;550c11b75804392e3661ab3de636b0c43d4ec940" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-stdx&#x2F;stdx&#x2F;commit&#x2F;550c11b75804392e366...</a>
  • steveklabnik1 hour ago
    This is not even the first project like this named stdx.<p>While many people say they want something like this, in practice, most people prefer the status quo. Maybe this time will be different, we’ll see!
  • Tuna-Fish1 hour ago
    &gt; Cryptographic code is famously hard, with many, many footguns haunting unsuspecting developers (and even experts!).<p>&gt; But, cryptography also has something that you likely won&#x27;t find in any other domain: an extensive public collection of test vectors, particularly for edge cases. Every algorithm specification come with a basic suite of test vectors, but there are also community-built wonders such as Wycheproof.<p>&gt; These test vectors, combined with the official specification documents of the crypto algorithms were rather effective to guide the coding agents and avoid the worst hallucinations.<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA<p>The first rule about implementing in crypto is don&#x27;t roll your own. But if you do, the second rule is that you have to actually deeply understand every algorithm you implement, and every interaction between every system they touch. The appropriate ratio between time spent reading research papers and time spent writing production code is well north of 100:1. You cannot get crypto right by doing it one small piece at a time. You cannot black box it by using tests. There is not a test for every corner case, the corner cases are lethal, and if your library is ever actually used for anything even remotely important, there absolutely will be attackers constructing those corner cases to attack your system.<p>The short version is that absolutely no-one should ever use this.
    • fjdjshsh40 minutes ago
      Here it&#x27;s important to take into account the consequences &#x2F; cost of false positive vs false negatives.<p>If you&#x27;re building a dashboard for visualizing something fun (hot dog sales in sport games) then the corner case error has low cost. I&#x27;m happy having this vibe coded dashboard that works 99&#x2F;100 and my world is better with it existing.<p>Crypto is on the opposite scale (and I&#x27;m surprised this blog doesn&#x27;t realize it): 9999&#x2F;10000 isn&#x27;t good enough because the corner cases have dire consequences. So, yeah, bad example for vibe coding
    • commandersaki1 hour ago
      With crypto publicly available tests come in form of KATs (Known Answer Tests), it ensures that the implementation works for certain inputs and thus it&#x27;ll probably work for the whole domain, but it does not protect from subtle forms of weaknesses such as side channels.<p><i>The short version is that absolutely no-one should ever use this.</i><p>Ditto.
    • fmajid41 minutes ago
      Test vectors won&#x27;t protect you against side-channels. This guy is a walking illustration of Dunning-Kruger, and calling it &quot;Rust&#x27;s extended standard library&quot; as if it has any kind of official status is just deranged.
  • nicoburns1 hour ago
    Personally I think this is the wrong solution. I want crowd-sourced auditing for the existing ecosystem, not forked&#x2F;vibecoded alternatives.
  • slopinthebag1 hour ago
    A single guy vibecoded a “stdlib” with Deepseek?
    • nicoburns1 hour ago
      Seems like he forked a bunch of already-existing crates and then added some vibecoding on top.
  • jcgrillo56 minutes ago
    ...but why?<p>Seriously, this needs some more justification:<p>&gt; Only big and well-funded organization are able to build the internal tooling and libraries requireed to securely ship large Rust projects.<p>Leaving aside the (real!) problems other commenters have highlighted, before even getting to those issues I have a small foundational question:<p>Is this actually a real problem?
    • MeetingsBrowser49 minutes ago
      The proposed solution conflicts with the supposed problem.<p>The author is an individual claiming the ability to author and maintain a standard library<p>… to be used by small orgs who do not have the resources to author and maintain a standard library.
      • jcgrillo33 minutes ago
        Yeah it&#x27;s a fractal of wtf all the way down..