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
-
▲ 3
Rewrite the Bun JSON parser around a SIMD structural indexstory by cebert · 2026-06-30 · 0 comments
-
I would just like to point to a single issue that has major ramifications in using Bun: https://github.com/oven-sh/bun/issues/14144
comment by emilfihlman · 2026-06-20 · in Bun has an open PR adding shared-memory threads to JavaScriptCore -
…platform tests too: https://web-platform-tests.org/ Bun has a similar large corpus of JS/TS tests: https://github.com/oven-sh/bun/tree/main/test You're right about general purpose rewrites, but language runtimes are a lot easier.
comment by esprehn · 2026-06-20 · in Bun has an open PR adding shared-memory threads to JavaScriptCore -
Here's a trivial docs issue I opened, where I had a similar experience: https://github.com/oven-sh/bun/issues/31233 The difference is that the PRs to fix that problem were already open when I created the issue. I was unaware of them (I…
comment by tomjakubowski · 2026-06-20 · in Bun has an open PR adding shared-memory threads to JavaScriptCore -
I, too, was curious to see it in practice. Here is the ticket opened by @retr0id: https://github.com/oven-sh/bun/issues/28030 And here is the swarm of bots / LLMs / agents that open, review and bikeshed the PR before it's closed by the…
comment by Delgan · 2026-06-20 · in Bun has an open PR adding shared-memory threads to JavaScriptCore -
▲ 3
Bun (the JavaScript runtime) is being vibe-ported from Zig to ruststory by birdculture · 2026-06-19 · 0 comments
-
…GitHub releases and then runs the payload. 3. Small loader payload: - Downloads Bun v1.3.13 from: https://github.com/oven-sh/bun/releases/download/bun-v1.3.13... - Uses curl and unzip. - Creates temporary directories under /tmp/b-* - Runs…
comment by thejaybird · 2026-06-05 · in Supply chain attack alert: .github/setup.js -
what a horrible typo with the scoped name, it should be `npx @baggiiiie/yadiff https://github.com/oven-sh/bun/pull/30412 `!
comment by baggiiiie · 2026-06-04 · in Show HN: yadiff, yet another diff viewer, based on pierre's diffshub -
▲ 2
Show HN: yadiff, yet another diff viewer, based on pierre's diffshubstory by baggiiiie · 2026-06-03 · 1 comment
-
…code of this poor quality would have been allowed anywhere near the main branch before LLMs. [0] https://github.com/oven-sh/bun/blob/d2a6506dfad4c3ef3dddb9ae... [1] https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...
comment by lunar_mycroft · 2026-06-03 · in Bun has been converted to rust. Now what? -
…back in February, so it's not accurate to classify it as "GitHub's automated anti-slop detection". https://github.com/oven-sh/bun/commit/c01a5e08be896e1d1f4529... It was Jarred who deliberately added the slop label to that PR, which…
comment by simonw · 2026-06-03 · in Bun has been converted to rust. Now what? -
…added here is easily the worst example of "test repeats implementation" I have seen in my career: https://github.com/oven-sh/bun/pull/30728/files#diff-863477b...
comment by tomjakubowski · 2026-05-28 · in Dynamic Workflows in Claude Code -
I think this is the glimpse of what to come - https://github.com/oven-sh/bun/issues/31463
comment by kikimora · 2026-05-27 · in Rewrite Bun in Rust has been merged -
▲ 4
Bun team is rewriting SIMD from Rust to C++story by ansipunk · 2026-05-25 · 5 comments
-
https://github.com/oven-sh/bun/issues/30921 > A CVE wasn’t announced for an HTTP Request Smuggling vulnerability Even before the acquisition of Anthropic, there had never been a single vulnerability report.…
comment by classicposter · 2026-05-24 · in Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite -
…said of Bun, which switched to an entirely different language in a single, million-line PR?[0] [0]: https://github.com/oven-sh/bun/pull/30412
comment by sheept · 2026-05-22 · in Bun support is now limited and deprecated -
…rewritten codebase. There are just too many lines of code, 1 million lines to be exact [1]. [1]: https://github.com/oven-sh/bun/pull/30412
comment by maxloh · 2026-05-22 · in Bun support is now limited and deprecated -
can't help myself: how common to see code like https://github.com/oven-sh/bun/blob/main/src/bun_core/string... instead of simple ilog2()? I guess, ut somewhat explains how they got 700k+ lines of code
comment by delamon · 2026-05-18 · in Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust" -
▲ 1
Bun Audit: Add UB-exorcism audit workspace and executive guidestory by gmays · 2026-05-17 · 0 comments
-
▲ 1
Add –implementation-language flag to Bunstory by quasigloam · 2026-05-17 · 0 comments
-
…to load a large number of comments. 2) The slop translation of Bun resulted in immediate bugs ( https://github.com/oven-sh/bun/issues/30719 ) that the hyped Mythos apparently did not find. 3) AI features and (likely, though not proven) AI…
comment by vnaghra · 2026-05-16 · in I believe there are entire companies right now under AI psychosis -
…allocator was used for some memory. That could cause problems in Rust if you erase the lifetime https://github.com/oven-sh/bun/blob/main/src/bun_core/string...
comment by defen · 2026-05-15 · in Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust" -
Holy cow: architector4@AGOGUS:/tmp$ git clone --depth=1 ' https://github.com/oven-sh/bun ' Cloning into 'bun'... … architector4@AGOGUS:/tmp$ cd bun/ architector4@AGOGUS:/tmp/bun$ find -type f -name '*.rs' -exec grep unsafe {} \; | grep -v…
comment by simonreiff · 2026-05-15 · in Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust" -
…that strings must be strict UTF-8. It's totally alien to the safe way Rust handles strings. [1] https://github.com/oven-sh/bun/blob/main/src/bun_core/string...
comment by Animats · 2026-05-15 · in Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust" -
…get around to it (or just get rid of all this unsafe code that they don't actually need). [1] https://github.com/oven-sh/bun/blob/4d443e54022ceeadc79adf54... - the pointers derived from the first mutable references are invalidated by…
comment by gpm · 2026-05-15 · in Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust" -
…strategy is to have AI produce "fixes" like these which will end up infecting the entire codebase: https://github.com/oven-sh/bun/pull/30728
comment by tadfisher · 2026-05-15 · in Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust" -
▲ 488
Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"story by ndiddy · 2026-05-15 · 345 comments
-
▲ 1
Bun single, statically-linked musl binarystory by 1vuio0pswjnm7 · 2026-05-15 · 1 comment
-
▲ 2
Refactor: Reduce usage of unsafe across Bun Rust codebase ;)story by croes · 2026-05-15 · 0 comments
-
https://github.com/oven-sh/bun/pulls and now we have lots of troll PRs...
comment by jjgoi · 2026-05-15 · in Rewrite Bun in Rust has been merged -
…a sanitiser. It's not a proof solver, but it screams to high heaven about this code nonetheless. https://github.com/oven-sh/bun/issues/30719
comment by Pay08 · 2026-05-15 · in Rewrite Bun in Rust has been merged -
…Bun required Bun, so distributions were unusable to ship it or anything that depended on it: https://github.com/oven-sh/bun/issues/6887 Any ideas if this is now changing and Bun can be bootstrapped with "just" Rust?
comment by WhyNotHugo · 2026-05-14 · in Rewrite Bun in Rust has been merged -
…time went into preparing this file with very detailed instructions on mapping Zig to Rust idioms: https://github.com/oven-sh/bun/commit/46d3bc29f270fa881dd573... On top of that, if you look at 'Pointers & ownership' and 'Collections'…
comment by sesm · 2026-05-14 · in Rewrite Bun in Rust has been merged -
…UB problems caused by unsafe code, the SAFETY blocks for the unsafe code are also, well, lies. [1] https://github.com/oven-sh/bun/blob/63035b3e37/src/bun_core/... [2] https://github.com/oven-sh/bun/blob/63035b3e37/src/bun_core/...
comment by 12_throw_away · 2026-05-14 · in Rewrite Bun in Rust has been merged -
Source: https://github.com/oven-sh/bun/pull/30412
comment by linkregister · 2026-05-14 · in Rewrite Bun in Rust has been merged -
https://github.com/oven-sh/bun/security Surprisingly, they appear to have not disclosed any vulnerabilities whatsoever. It's likely there have been numerous vulnerabilities in the past, but they are all being ignored.…
comment by classicposter · 2026-05-14 · in Rewrite Bun in Rust has been merged -
…bun upgrade --canary [1.55s] Upgraded. Welcome to Bun's latest canary build! Report any bugs: https://github.com/oven-sh/bun/issues Changelog: https://github.com/oven-sh/bun/compare/0d9b296af...19d8ade2c schematic git:(main) bun run…
comment by veidr · 2026-05-14 · in Rewrite Bun in Rust has been merged -
…plans to issue a CVE for this HTTP request smuggling attack vector fixed in the latest bun release? https://github.com/oven-sh/bun/issues/29732
comment by halifaxbeard · 2026-05-14 · in Rewrite Bun in Rust has been merged -
…in your large existing codebase and report back the mess. Theirs is littered with TODOs like this https://github.com/oven-sh/bun/pull/30412/changes#diff-6c2b5...
comment by Robdel12 · 2026-05-14 · in Remove .zig Files from Bun -
The linked PR has been flagged as AI slop, but there seems to be an equivalent PR that's still open: https://github.com/oven-sh/bun/pull/30683
comment by plus · 2026-05-14 · in Remove .zig Files from Bun -
…a few milliseconds". Even if 1 != 'a few'. It's possible the part of the commit reverted here, https://github.com/oven-sh/bun/commit/a42bf70139980c4d13cc55... , defeated the purpose of the test by removing the sleep. I don't think adding…
comment by onli · 2026-05-14 · in Rewrite Bun in Rust has been merged -
> solving the ,,tests not pass'' problem by changing the tests themselves https://github.com/oven-sh/bun/pull/30412/changes/68a34bf8ed... This is great! Just add a random sleep(1) to a test, don't worry about it, it's going to be fine!
comment by q3k · 2026-05-14 · in Rewrite Bun in Rust has been merged -
▲ 37
Remove .zig Files from Bunstory by quasigloam · 2026-05-14 · 28 comments
-
…mental model of it should still match fairly well. For instance look at this Zig function: https://github.com/oven-sh/bun/blob/ed1a70f81708d7d137de8de0... Versus this Rust version: https://github.com/oven-sh/bun/blob/ed1a70f81708d7d137de8de…
comment by IshKebab · 2026-05-14 · in Rewrite Bun in Rust has been merged -
…PR removing the zig source files being auto-tagged by bun's own CI as "ai slop" is so funny https://github.com/oven-sh/bun/pull/30680
comment by lucasloisp · 2026-05-14 · in Rewrite Bun in Rust has been merged -
Claude's workflows might become good training data for LLMs: https://github.com/oven-sh/bun/tree/23427db/.claude/workflow...
comment by maxloh · 2026-05-14 · in Bun's rewrite in Rust was merged -
▲ 30
Bun's rewrite in Rust was mergedstory by maxloh · 2026-05-14 · 8 comments
-
▲ 708
Rewrite Bun in Rust has been mergedstory by Chaoses · 2026-05-14 · 789 comments
-
▲ 3
Bun now has official FreeBSD buildsstory by gr4vityWall · 2026-05-13 · 0 comments