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
20082026
-
…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? -
…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...
comment by anttiharju · 2026-05-10 · in Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc -
…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…
comment by ameliaquining · 2026-05-09 · in Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc -
Here: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20%22Segm... Around 2500 issues with segmentation fault.
comment by nicce · 2026-05-09 · in Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc -
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
comment by dminik · 2026-05-09 · in Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc -
The branch in question: https://github.com/oven-sh/bun/compare/main...claude/phase-a...
comment by rererereferred · 2026-05-09 · in Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc -
…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
comment by scared_together · 2026-05-09 · in Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc -
…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 -
…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 -
▲ 2
Bun (the JavaScript runtime) is being vibe-ported from Zig to ruststory by birdculture · 2026-05-05 · 0 comments
-
…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 -
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 -
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 -
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 -
…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 -
▲ 723
Zig → Rust porting guidestory by SergeAx · 2026-05-05 · 555 comments
-
…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 -
…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 -
▲ 2
Moving from Node to Bun spikes container CPU and memory usage until it crashesstory by emigre · 2026-05-03 · 0 comments
-
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 -
…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…
comment by matorl · 2026-04-06 · in We replaced Node.js with Bun for 5x throughput -
…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…
comment by loevborg · 2026-04-03 · in Bun: cgroup-aware AvailableParallelism / HardwareConcurrency on Linux -
▲ 45
Bun: cgroup-aware AvailableParallelism / HardwareConcurrency on Linuxstory by tosh · 2026-04-03 · 24 comments
-
…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 -
…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 -
…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…
comment by bdangubic · 2026-04-02 · in Claude Code's source code has been leaked via a map file in their NPM registry -
…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...
comment by JamesSwift · 2026-04-01 · in The Claude Code Source Leak: fake tools, frustration regexes, undercover mode -
▲ 1
Bun's front end development server – Source map incorrectly served in productionstory by thunderbong · 2026-04-01 · 0 comments
-
It was not cause by this. https://github.com/oven-sh/bun/issues/28001#issuecomment-416...
comment by chalmovsky · 2026-03-31 · in Claude Code's source code has been leaked via a map file in their NPM registry -
▲ 4
A bug in Bun may have been the root cause of the Claude Code source code leakstory by birdculture · 2026-03-31 · 1 comment
-
…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,…
comment by jakegmaths · 2026-03-31 · in Claude Code's source code has been leaked via a map file in their NPM registry -
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 -
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 -
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 -
▲ 1
My Thoughts on the Current State and Future Development of Bunstory by narukeu · 2026-03-01 · 0 comments
-
This looks promising. And it's exciting to think it could also target mobile [1]. [1]: https://github.com/oven-sh/bun/issues/21237
comment by sumolessons · 2026-02-19 · in Electrobun v1: Build fast, tiny, and cross-platform desktop apps with TypeScript -
…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
comment by dtf · 2026-02-14 · in Zig – io_uring and Grand Central Dispatch std.Io implementations landed -
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 -
…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
comment by kretaceous · 2025-12-06 · in The missing standard library for multithreading in JavaScript -
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
comment by Defletter · 2025-12-04 · in Show HN: Fresh – A new terminal editor built in Rust -
…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 -
…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) -
…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 -
…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 -
…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 -
…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 -
…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 -
…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…
comment by a-dub · 2025-11-17 · in Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo) -
> 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 -
…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