Live data from Hacker News

Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

github.com

1–10 of 366 posts

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#2
There's a book that changed a lot of the way I think about attention and media [0]. The book isn't very good, but it flags something relevant here. There is a huge asymmetry between the reach of a big, flashy announcement (here: bun was re-written in memory-safe rust in a couple weeks), and the relatively small reach of a correction (often just a footnote on an old article, here a GH issue).

This asymmetry is well understood by marketing and PR professionals, and actively exploited.

[0] https://en.wikipedia.org/wiki/Trust_Me,_I%27m_Lying

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#8

There's a book that changed a lot of the way I think about attention and media [0]. The book isn't very good, but it flags something relevant here. There is a huge asymmetry between the reach of a big, flashy announcement (here: bun was re-written in memory-safe rust in a couple weeks), and the relatively small reach of a correction (often just a footnote on an old article, here a GH issue). This asymmetry is well un…

Not just marketing and PR, the mainstream media knows that pushing out BS and then retracting it later can have lasting effects because people will remember the original article / headline, and never see the correction.

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#9
This had to happen, for many reasons:

- Its a throw thing at the wall and see what sticks situation

- LLMs will improve*

- Using LLMs in an agentic way will improve (git worktrees, sliced PRs, spec driven steps)

So what happened here is a mess, but you gotta break a few eggs to make a souffle.

It's a learning step and I am glad it happened, there will be so many things to debrief from this.

I don't use Bun or Rust but fair play to them having a punt.

I have been working with Claude code to spec out and bring back to life a Spring Boot starter library for Apache Solr search

https://github.com/tomaytotomato/spring-data-solr-lazarus

There were a few points I had to steer it but the result has been a good implementation.

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#10
Dumbest point ever. There is no value for this issue. I don't agree with the way they did the rewrite, but they did the rewrite, and this post contributes nothing, beside making the author seem childish. If it had any real contribution I would have waved it off, but it really doesn't. This tribalism and "I'm better than you"-ism and the same reason everybody hated the stack overflow community, and the rust community as well.
Post reply on HN