TGViewer
CatOps CatOps @catops · 5.08K subscribers
Post #2941 1.51K
Rewriting everything in Rust was a meme of itself before the wide application of AI. However, Rewriting Bun in Rust is interesting precisely because of AI.

Quoting the article itself:

Pre-merge, this took 5.9 billion uncached input tokens, 690 million output tokens, and 72 billion cached input token reads — around $165,000 at API pricing. By hand, I think this would've taken 3 engineers with full context on the codebase about a year, during which time we wouldn't be able to improve Node.js compatibility, fix bugs, fix security issues or implement new features. We never would've done that. The realistic alternative was to do nothing and keep fixing the bugs at the top of this post forever.

What’s interesting in this article, regardless of whether or not you plan to rewrite a huge code base, is how he approached the task with multiple agents. This is something you could do in your daily job for smaller things as well.

Bun v1.4.0 is the first Rust version, and some companies already use it in production.

#ai #programming #rust
Bun Rewriting Bun in Rust Why & how we rewrote Bun from Zig to Rust
  • ❤ 4
  • 🔥 1
  • 😱 1
More from @catops
  1. Sep 29, 2026A Cybersecurity books bundle by O’Reilly on Humble Bundle. The bundle is fresh and is stil…
  2. Sep 28, 2026​​For today’s Donations Monday, I’d like to remind you about a fundraiser for a pickup tru…
  3. Sep 26, 2026Here’s Datadog’s take on the increased load on CI. In this article they explain how their…
  4. Sep 25, 2026A new chapter of the CatOps Digest is here! https://newsletter.catops.dev/p/catops-digest-…
  5. Sep 24, 2026Shopify wrote an article on them moving from React Native to the native code for their mob…
  6. Sep 23, 2026A bunch of practice exams on Humble Bundle, if you're into this type of thing. This offer…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →