yt-dlp don't want bun(1) vibes.

> #Bun was recently rewritten in Rust using Claude, and its development seems to have taken a turn towards being fully vibe-coded. This is alarming and disappointing for a number of reasons, and frankly it seems like a future headache that we'd prefer to avoid. We are adding a support ceiling of version 1.3.14, as that is the last release built from the original zig codebase
https://github.com/yt-dlp/yt-dlp/issues/16766

[Announcement] Bun support is now limited and deprecated · Issue #16766 · yt-dlp/yt-dlp

Due to foreseeable compatibility and security issues, yt-dlp's support for Bun as an ejs-compatible JavaScript runtime is being both limited and deprecated. As of the next yt-dlp and/or ejs release...

GitHub

"yt-dlp support of Bun is now deprecated, citing the rewrite to Rust being "vibe coded" and issues surrounding supply chain attacks"

https://xcancel.com/DanielLockyer/status/2058042253050843358

#ytdlp #bun #rust #vibecoding

I am worried about Bun

Bun is excellent software. Anthropic owns it now, Bun sits under Claude Code, and Claude Code getting worse makes me worried Bun could follow the same enshittification path.

wwj.dev
Bun's unreleased Rust port has 13,365 unsafe blocks. Most can be removed.

An audit of every unsafe block in Bun's unreleased Rust port: what each relies on, and what removing it would take.

[Announcement] Bun support is now limited and deprecated · Issue #16766 · yt-dlp/yt-dlp

Due to foreseeable compatibility and security issues, yt-dlp's support for Bun as an ejs-compatible JavaScript runtime is being both limited and deprecated. As of the next yt-dlp and/or ejs release...

GitHub

Oh, so it turns out it's not even a 1:1 duplicate of the code, but some alternative (?) transformed version of it:

The code for `into_vec` in `SmallVec` does this:
https://github.com/servo/rust-smallvec/blob/9da26a5315c563d4de181b0be9e75d165289f81e/src/lib.rs#L1481

So the duplicated code can have worse performance than the original safe version, because it doesn't reuse the allocation (if the SmallVec has already spilled onto the heap).

@AMDmi3 @lil5

3/3

#Rust #RustLang #Bun

rust-smallvec/src/lib.rs at 9da26a5315c563d4de181b0be9e75d165289f81e · servo/rust-smallvec

"Small vector" optimization for Rust: store up to a small number of items on the stack - servo/rust-smallvec

GitHub

In RAG, the bottleneck isn’t your app server—it’s vector search, rerankers, and LLM latency.

Go is fast glue around slow calls. TypeScript on Bun matches that speed *and* brings better AI tooling (LangGraph.js, LangSmith, Zod, Hono, Qdrant).

Rule: choose the language with the best AI tooling for your hot path; optimize real bottlenecks separately.

I wasted two weeks in Go learning this.
#RAG #TypeScript #Bun #AIEngineering #LLM

After #Bun unsafe audit slop report...

https://bun.com/bun-unsafe-audit

...I've randomly looked into the CSS parser module and found this:

https://github.com/oven-sh/bun/blob/346ce0805f31c0cc382236f2fd022b11ab2d7733/src/css/selectors/parser.rs#L54-L67

A function that uses `unsafe` to convert a `SmallList` into a boxed slice. I can't say anything about whether it is a correct usage of `unsafe`.

What I can say, however:
There is already an equivalent method on `SmallList` that uses _zero_ `unsafe`!

https://github.com/oven-sh/bun/blob/346ce0805f31c0cc382236f2fd022b11ab2d7733/src/collections/lib.rs#L492

In other words: It's duplicated code + #unsafe!

1/3

#Rust #LLM

Bun's unreleased Rust port has 13,365 unsafe blocks. Most can be removed.

An audit of every unsafe block in Bun's unreleased Rust port: what each relies on, and what removing it would take.

Pünktlich zum langen Wochenende gibt es eine schöne Ladung Ready for Review.

Sandra und Daniel haben den Giftschrank geöffnet und reden über die Rust-Migration von Bun.

Fröhliches gibt es aber auch zu hören. Sandra fällt aus Versehen in das Rabbit Hole "Mesh-Netzwerke", Daniel steigt tiefer ins Nix Hole ein und konsumiert wurde auch fleißig.

Schöne Pfingsten euch allen.

Zur Folge: https://ready-for-review.dev/2026/05/22/rfr102-bun-wenn-die-ki-deine-migration-ubernimmt

#rust #bun #podcast #zig #mesh #brettspiele