frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stdx, Rust's extended standard library

https://kerkour.com/stdx
24•manyatoms•3d ago

Comments

steveklabnik•2h ago
This is not even the first project like this named stdx.

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!

slopinthebag•2h ago
A single guy vibecoded a “stdlib” with Deepseek?
nicoburns•2h ago
Seems like he forked a bunch of already-existing crates and then added some vibecoding on top.
MeetingsBrowser•2h ago
This is a collection of forked open source crates bundled together with open model vibe coding?

> the code written by AI is more robust than by humans because more edge cases are tested.

This is at least a mildly concerning take to see in a blog post announcing a solution to supply chain security.

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.

quadhome•1h ago
And just decided to relicense those forks with no real regard.

Also, it’s a loooong way from the self-contained goal—- there are a lot of third-party crates as dependencies still.

Yikes.

the__alchemist•1h ago
This whole article is red flags. (Mental health issues including narcissism?)

  - 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 "shipped" by the author have no commits by him or her.
  - No comparison in the specifics to how it's handling
  - Uses phrasing which might (IMO deliberately) confuse people into thinking this is official.
nicoburns•1h ago
Personally I think this is the wrong solution. I want crowd-sourced auditing for the existing ecosystem, not forked/vibecoded alternatives.
Tuna-Fish•1h ago
> Cryptographic code is famously hard, with many, many footguns haunting unsuspecting developers (and even experts!).

> But, cryptography also has something that you likely won'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.

> 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.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

The first rule about implementing in crypto is don'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.

The short version is that absolutely no-one should ever use this.

commandersaki•1h 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'll probably work for the whole domain, but it does not protect from subtle forms of weaknesses such as side channels.

The short version is that absolutely no-one should ever use this.

Ditto.

fmajid•1h ago
Test vectors won't protect you against side-channels. This guy is a walking illustration of Dunning-Kruger, and calling it "Rust's extended standard library" as if it has any kind of official status is just deranged.
jcgrillo•1h ago
...but why?

Seriously, this needs some more justification:

> Only big and well-funded organization are able to build the internal tooling and libraries requireed to securely ship large Rust projects.

Leaving aside the (real!) problems other commenters have highlighted, before even getting to those issues I have a small foundational question:

Is this actually a real problem?

MeetingsBrowser•1h ago
The proposed solution conflicts with the supposed problem.

The author is an individual claiming the ability to author and maintain a standard library

… to be used by small orgs who do not have the resources to author and maintain a standard library.

jcgrillo•1h ago
Yeah it's a fractal of wtf all the way down..
rafram•1h ago
My personal preference would be to avoid a project whose maintainers push vibe-coded commits with one-line messages like "crypto: accelerate aes256" [1], especially when said commits introduce large blocks of unreadable inline assembly!

[1]: https://github.com/rust-stdx/stdx/commit/550c11b75804392e366...

joshmarinacci•24m ago
I like the idea of an extended standard lib for Rust, but coding was never the hard part. The hard part is getting everyone to agree what should be in it. If you can get everyone to agree to an api then the rest can easily be filled in (with or without vibe coding).
fjdjshsh•1h ago
Here it's important to take into account the consequences / cost of false positive vs false negatives.

If you're building a dashboard for visualizing something fun (hot dog sales in sport games) then the corner case error has low cost. I'm happy having this vibe coded dashboard that works 99/100 and my world is better with it existing.

Crypto is on the opposite scale (and I'm surprised this blog doesn't realize it): 9999/10000 isn't good enough because the corner cases have dire consequences. So, yeah, bad example for vibe coding

Iroh 1.0

https://www.iroh.computer/blog/v1
362•chadfowler•2h ago•128 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
81•tinywind•1h ago•18 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
49•rsgm•2h ago•18 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

9•PrimalNick•39m ago•6 comments

Making glass-to-metal seals for home­made vacuum tubes

https://maurycyz.com/projects/glass/1/
48•zdw•1d ago•17 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
133•thm•4h ago•179 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
111•bookofjoe•2h ago•32 comments

Memory safety CVEs differ between Rust and C/C++

https://kobzol.github.io/rust/2026/06/15/how-memory-safety-cves-differ-between-rust-and-c-cpp.html
17•nicoburns•1h ago•2 comments

CrankGPT

https://crankgpt.com
411•rishikeshs•4h ago•162 comments

Bots flooded my anti-bot startup with 55,000 fake signups

https://humaverify.com/blog/anatomy-of-a-55k-bot-attack
9•Jaco07•4d ago•2 comments

Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

https://machine0.io
12•bwm•1h ago•2 comments

Show HN: Exploiting Slack's video embeds to achieve E2EE communication

https://v1c.rocks/log/exploiting-slack-video/
16•victorio•1h ago•2 comments

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
822•sohkamyung•18h ago•276 comments

Apple Foundation Models

https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
393•MehrdadKhnzd•12h ago•187 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

65•cloudking•2h ago•32 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
119•thunderbong•4d ago•62 comments

Openrouter Fusion API

https://openrouter.ai/openrouter/fusion
162•tdchaitanya•10h ago•63 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
42•tuhtah•4h ago•205 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
313•signa11•14h ago•106 comments

Boot Naked Linux

https://nick.zoic.org/art/boot-naked-linux/
6•abnercoimbre•1h ago•0 comments

Improvement in advanced Alzheimer’s disease following high-dose psilocybin

https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2026.1813281/full
135•cl3misch•10h ago•101 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
649•tamnd•1d ago•124 comments

How to build a virtual cell and biology scaling laws

https://letter.nikomc.com/p/virtual-cells
6•ogundipeore•2d ago•0 comments

Google Flight Simulator

https://developers.google.com/maps/documentation/earth/flight-simulator
106•bookofjoe•4h ago•37 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
950•memalign•5d ago•275 comments

Dalus (YC W25) Is Hiring a Senior Software Engineer in Germany

https://www.ycombinator.com/companies/dalus/jobs/5IDmKJt-senior-software-frontend-engineer-german...
1•sebastianvoelkl•10h ago

Anthropic's Safety Superpower

https://stratechery.com/2026/anthropics-safety-superpower/
174•swolpers•7h ago•155 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6B

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
213•colesantiago•5h ago•178 comments

Asciline – real-time ASCII video rendering engine

https://github.com/YusufB5/ASCILINE
46•godot•3d ago•19 comments

Curl will not accept vulnerability reports during July 2026

https://daniel.haxx.se/blog/2026/06/15/curl-summer-of-bliss/
685•secret-noun•11h ago•285 comments