Get the latest tech news
Bun’s New Crash Reporter
How we built an anonymous Zig/C++ crash reporter that doesn't require debug symbols to be shipped with the application.
Apps and SaaS products get to use wonderful crash reporting services like Sentry, but for CLI tooling like Bun, uploading core dumps has privacy, performance, and executable size tradeoffs that are harder to justify. This bun.report link, when clicked, redirects to open a pre-filled GitHub issue form, with the remapped stack trace encoded in the URL. And finally, when Bun crashes, the bitfield can be constructed very trivially using inline for, a way to iterate over something at compile time, but perform the inner contents at runtime.
Or read this on Hacker News