Hacker GitHub

← All repos

oven-sh/bun

View on GitHub ↗ ★ 96,514 Rust

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

268 mentions on Hacker News by 204 people: 39 stories, 229 comments · first 2022-07-12 · latest 2026-10-24

Mentions per year 268 mentions · busiest year 2026 (138)
20082026
  1. …surprising at times, preserving strange anti-patterns (my name being said anti-pattern, teehee): https://github.com/oven-sh/bun/blob/ffa6ce211a0267161ae48b82... . It's hard to determine why Claude decided this -- I assume a really strict…
    comment by suis_siva · 2026-05-11 · in If AI writes your code, why use Python?
  2. …has that much to do with Zig's anti-AI stance. More about using the right tool for the job. [1] https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3... [2] https://github.com/denoland/deno/issues?q=is%3Aissue%20state...
  3. …that people can write native extension modules for Bun in Rust if they want to). The rewrite's in https://github.com/oven-sh/bun/tree/claude/phase-a-port . By running the following command on it, I count about 14,000 unsafe blocks: rg…
  4. Here: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20%22Segm... Around 2500 issues with segmentation fault.
  5. Not that it's a particularly accurate stat, but: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3... 119 open, 885 closed https://github.com/denoland/deno/issues?q=is%3Aissue%20state... 10 open, 46 closed
  6. The branch in question: https://github.com/oven-sh/bun/compare/main...claude/phase-a...
  7. …being undertaken by the owners of the project. That said, yes, you’re correct that Bun isn’t GPL: https://github.com/oven-sh/bun?tab=License-1-ov-file
  8. …te.rs/s/otxkjw/bun_js_runtime_is_being_vibe_port... > The regular pull requests for bun are wild too: https://github.com/oven-sh/bun/pulls?q=is%3Apr+ > Most are created autonomously by @robobun, checked for duplicates with a GitHub action…
    comment by ModernMech · 2026-05-05 · in Zig → Rust porting guide
  9. …guess that it emits around the same as buying $100 in gas? Or like 50 or so kgs of CO2? [0] https://github.com/oven-sh/bun/compare/main...claude/phase-a... [1] https://github.com/oven-sh/bun/blob/dacc59c62a8f93eabe6d9998...
    comment by kingstnap · 2026-05-05 · in Zig → Rust porting guide
  10. ▲ 2
    Bun (the JavaScript runtime) is being vibe-ported from Zig to rust
    story by birdculture · 2026-05-05 · 0 comments
  11. …bugs affecting production that sit unaddressed. For example on of our biggest blockers right now is https://github.com/oven-sh/bun/issues/6608 which was reported in 2023, still affecting us 3 years later.
    comment by weli · 2026-05-05 · in Zig → Rust porting guide
  12. https://github.com/oven-sh/bun/issues/30197 It seems there was an issue where the image API ignored the ICC Profile.(now fixed) Any developer with experience implementing image formats would almost certainly avoid this mistake. This is a…
    comment by classicposter · 2026-05-05 · in Zig → Rust porting guide
  13. the rust port (at least currently) heavily uses unsafe as well https://github.com/oven-sh/bun/compare/claude/phase-a-port#d... that isn't particularly surprising, but the point is I would expect getting things more stable than the zig…
    comment by mswphd · 2026-05-05 · in Zig → Rust porting guide
  14. Did you look at the branch? This is vibed, even with the most liberal definition https://github.com/oven-sh/bun/compare/claude/phase-a-port This single commit is 65k lines of additions https://github.com/oven-sh/bun/commit/ffa6ce211a0267161…
    comment by WD-42 · 2026-05-05 · in Zig → Rust porting guide
  15. …mass rewriting Zig code into Rust which is currently at 773,950 additions and 151 deletions: [0]: https://github.com/oven-sh/bun/compare/claude/phase-a-port
    comment by archargelod · 2026-05-05 · in Zig → Rust porting guide
  16. ▲ 723
    Zig → Rust porting guide
    story by SergeAx · 2026-05-05 · 555 comments
  17. …a great job of exposing room for improvement in nodejs. For example, i'd been following this issue https://github.com/oven-sh/bun/issues/14102 and eventually all the libraries shipped "if bun do x" into them, which is the opposite of…
    comment by STRiDEX · 2026-05-04 · in I am worried about Bun
  18. …on it, and so many software engineers depend on Claude Code to help get their work done. [0]: https://github.com/oven-sh/bun/pull/30219 [1]: https://github.com/oven-sh/bun/pull/30098 [2]: https://github.com/oven-sh/WebKit/pull/211 [3]:…
    comment by Jarred · 2026-05-04 · in I am worried about Bun
  19. ▲ 2
    Moving from Node to Bun spikes container CPU and memory usage until it crashes
    story by emigre · 2026-05-03 · 0 comments
  20. Where? bun's doc site search engine doesn't show it but there's an open PR on the topic. https://github.com/oven-sh/bun/issues/26373 Doc site says: --production sets flag --minify, process.env.NODE_ENV = production, and production-mode JSX…
    comment by burnt-resistor · 2026-04-06 · in We replaced Node.js with Bun for 5x throughput
  21. …needs the same. There's a PR for Bun that gives the same security but it's been sitting for months https://github.com/oven-sh/bun/pull/25911 I want to migrate an existing project to Bun but cannot until it has a security permission system…
  22. …that Bun automatically loads .env files if they're present almost disqualifies it from most tasks https://github.com/oven-sh/bun/issues/23967 It makes it hard to take them too seriously with such a design choice - a footgun really. It's so…
  23. ▲ 45
    Bun: cgroup-aware AvailableParallelism / HardwareConcurrency on Linux
    story by tosh · 2026-04-03 · 24 comments
  24. …implying that they've made up the performance difference. There's a comment with a benchmark here: https://github.com/oven-sh/bun/blob/4760d78b325b62ee62d6e47b... referencing the commit where they removed the ability to link with libgit2…
    comment by llimllib · 2026-04-02 · in We sped up bun by 100x
  25. …and just made it up. I guess there really is a class of "engineers" that the AI can replace. [1]: https://github.com/oven-sh/bun/blob/3ed4186bc8db8357c670307f... [2]: https://github.com/oven-sh/bun/commit/011e157cac7698050370e2...
    comment by delusional · 2026-04-02 · in We sped up bun by 100x
  26. …I get approached with "we should consider using ____" is to send them to their issues page ( e.g. https://github.com/oven-sh/bun/issues ) and then be like "spend 60-90 minutes minimum here reviewing the issues - then come back and tell me…
  27. …actually just looking this up, it appears claude-code itself was just added to that whitelist : D https://github.com/oven-sh/bun/commit/5c59842f78880a8b5d9c2e...
  28. ▲ 1
    Bun's front end development server – Source map incorrectly served in production
    story by thunderbong · 2026-04-01 · 0 comments
  29. It was not cause by this. https://github.com/oven-sh/bun/issues/28001#issuecomment-416...
  30. ▲ 4
    A bug in Bun may have been the root cause of the Claude Code source code leak
    story by birdculture · 2026-03-31 · 1 comment
  31. …ultimately caused by a Bun bug which I reported, which means source maps are exposed in production: https://github.com/oven-sh/bun/issues/28001 Claude code uses (and Anthropic owns) Bun, so my guess is they're doing a production build,…
  32. https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3... Setting aside the fact that the S3 built-in API is now neglected, I'm skeptical about the runtime providing such APIs. As Ruby on Rails does well, these are issues that should…
    comment by hajime-san · 2026-03-22 · in 404 Deno CEO not found
  33. https://github.com/oven-sh/bun/issues/18192 I am talking about this bug. It looks like it is still unfixed, in the sense, there is a PR fixing it, but it wasn't merged. LOL. Regardless of whether this specific bug would be caught by Rust…
    comment by koakuma-chan · 2026-03-20 · in Java is fast, code might not be
  34. Wow, I thought you were exaggerating, but no: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3... Open 80, closed 492.
    comment by _flux · 2026-03-17 · in Node.js needs a virtual file system
  35. ▲ 1
    My Thoughts on the Current State and Future Development of Bun
    story by narukeu · 2026-03-01 · 0 comments
  36. This looks promising. And it's exciting to think it could also target mobile [1]. [1]: https://github.com/oven-sh/bun/issues/21237
  37. …read the source yourself [1]. If Bun is "just a wrapper", then surely Node.js and Deno are too? [1] https://github.com/oven-sh/bun/tree/main/src
  38. Is it mature? I’m genuinely curious because there’s currently 63 open issues of reported segfaults. https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by tiffanyh · 2026-02-09 · in Bun v1.3.9
  39. …library)... I skimmed the issues but I couldn't find any issues on Bun regarding this except for: https://github.com/oven-sh/bun/discussions/4325
  40. I think they're referring to bundling Bun into another program to use Bun as a JS runtime: https://github.com/oven-sh/bun/issues/12017
  41. …an added dose of segfaults. 1. https://github.com/denoland/deno/issues?q=is%3Aissue%20state... 2. https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3... Node.js is a no-brainer for anyone shipping a TS/JS backend. I'd rather deal…
    comment by kamikazechaser · 2025-12-03 · in Anthropic acquires Bun
  42. …work preferred Highlights - Open Source contributor ( Some of top open source contributions - https://github.com/oven-sh/bun/pull/17207 and https://github.com/CapSoftware/scap ) - Currently building a multipurpose ( SQL and QueryDSL )…
    comment by Pranav2612000 · 2025-12-03 · in Ask HN: Who wants to be hired? (December 2025)
  43. …you are def very busy right now with the acquisition, but wanted to give my PR the best shot: https://github.com/oven-sh/bun/pull/24514
    comment by franciscop · 2025-12-03 · in Anthropic acquires Bun
  44. …code, here are a few examples: - this hand-rolled JS parser of 24k dense, memory-unsafe lines: https://github.com/oven-sh/bun/blob/c42539b0bf5c067e3d085646... (this is a version from quite a while ago to exclude LLM impact) - hand-rolled…
    comment by dgroshev · 2025-12-03 · in Anthropic acquires Bun
  45. …that make it hard for us to use. I've forgotten why now, but this in particular bit us in the ass: https://github.com/oven-sh/bun/issues/6608 . We use PNPM and are very happy with it, even if it's not as fast as Bun's package manager.…
    comment by kabirgoel · 2025-12-02 · in Anthropic acquires Bun
  46. …that first comment too. To clarify: 1. User krig reports an issue against the Bun repo: https://github.com/oven-sh/bun/issues/24548 2. Bun's own automated "bunbot" filed a PR with a potential fix: https://github.com/oven-sh/bun/pull/24578…
    comment by simonw · 2025-12-02 · in Anthropic acquires Bun
  47. …arbitrary code execution bug I reported that the Bun Claude bot created a PR for about 3 weeks ago: https://github.com/oven-sh/bun/pull/24578 So far, someone from the bun team has left a bunch of comments like > Poor quality code ...and…
    comment by krig · 2025-12-02 · in Anthropic acquires Bun
  48. …to dig deep into the bun runtime (it's in zig) to see how this remains efficient. it's a heap: https://github.com/oven-sh/bun/blob/509a97a43516fe4f6d4ff400... of these: https://github.com/oven-sh/bun/blob/509a97a43516fe4f6d4ff400... pretty…
  49. > https://github.com/oven-sh/bun/issues?q=segfault%20OR%20segm... It should be noted that most of those issues are created by opening a link that bun creates when it crashes, they are not yet reviewed/confirmed and most likely a lot of…
    comment by nvlled · 2025-11-17 · in Open-source Zig book
  50. …sufficiently complex. [1]: https://security.googleblog.com/2025/11/rust-in-android-move... [2]: https://github.com/oven-sh/bun/issues?q=segfault%20OR%20segm...
    comment by ViewTrick1002 · 2025-11-17 · in Open-source Zig book