logoalt Hacker News

Jarredtoday at 10:41 AM6 repliesview on HN

Still writing the blog post about this. Will share more details.

For where this is coming from, skim the bugfixes in the Bun v1.3.14 and earlier release notes. Rust won’t catch all of these - leaks from holding references too long and anything that re-enters across the JS boundary are still on us. But a large % of that list is use-after-free, double-free, and forgot-to-free-on-error-path, which become compile errors or automatic cleanup.


Replies

randypewicktoday at 12:02 PM

Did you (or will you) implement some kind of e2e (fuzzy?) testing comparing the two binaries? Do you have particular plans regarding the release of this (for ex to not break users workflows or things like that)?

janice1999today at 10:55 AM

I'm curious how much this would cost a paying customer. Can you please give us an estimate?

calmootoday at 11:36 AM

Will this likely fix stability issues in the Bun Workers API? https://bun.com/docs/runtime/workers

LucidLynxtoday at 12:05 PM

[flagged]

show 2 replies
pulsartwintoday at 10:44 AM

Looking forward to the blog post. Do you plan to run both the Zig and Rust binaries side-by-side across a wide range of real applications (potentially shadowing in production) to weed out bugs?

show 1 reply
eddiewithzatotoday at 10:42 AM

I can hope this will lead to little to no memory issues in using bun as a web server

show 1 reply