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. ▲ 3
    Rewrite the Bun JSON parser around a SIMD structural index
    story by cebert · 2026-06-30 · 0 comments
  2. 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
  3. …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.
  4. 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…
  5. 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…
  6. ▲ 3
    Bun (the JavaScript runtime) is being vibe-ported from Zig to rust
    story by birdculture · 2026-06-19 · 0 comments
  7. …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
  8. what a horrible typo with the scoped name, it should be `npx @baggiiiie/yadiff https://github.com/oven-sh/bun/pull/30412 `!
  9. ▲ 2
    Show HN: yadiff, yet another diff viewer, based on pierre's diffshub
    story by baggiiiie · 2026-06-03 · 1 comment
  10. …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?
  11. …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…
  12. …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
  13. 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
  14. ▲ 4
    Bun team is rewriting SIMD from Rust to C++
    story by ansipunk · 2026-05-25 · 5 comments
  15. 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.…
  16. …understood problem You would think, but the initial implementation of this stripped ICC profiles ( https://github.com/oven-sh/bun/issues/30197 ), and while that was fixed in time for the release, it still currently doesn't understand EXIF…
    comment by 190n · 2026-05-24 · in Bun.Image
  17. …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
  18. …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
  19. 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
  20. ▲ 1
    Bun Audit: Add UB-exorcism audit workspace and executive guide
    story by gmays · 2026-05-17 · 0 comments
  21. ▲ 1
    Add –implementation-language flag to Bun
    story by quasigloam · 2026-05-17 · 0 comments
  22. …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…
  23. …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...
  24. 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…
  25. …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...
  26. …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…
  27. …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
  28. ▲ 488
    Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"
    story by ndiddy · 2026-05-15 · 345 comments
  29. ▲ 1
    Bun single, statically-linked musl binary
    story by 1vuio0pswjnm7 · 2026-05-15 · 1 comment
  30. ▲ 2
    Refactor: Reduce usage of unsafe across Bun Rust codebase ;)
    story by croes · 2026-05-15 · 0 comments
  31. 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
  32. …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
  33. …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
  34. …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
  35. …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
  36. Source: https://github.com/oven-sh/bun/pull/30412
    comment by linkregister · 2026-05-14 · in Rewrite Bun in Rust has been merged
  37. 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
  38. …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
  39. …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
  40. …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
  41. 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
  42. …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
  43. > 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
  44. ▲ 37
    Remove .zig Files from Bun
    story by quasigloam · 2026-05-14 · 28 comments
  45. …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
  46. …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
  47. 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
  48. ▲ 30
    Bun's rewrite in Rust was merged
    story by maxloh · 2026-05-14 · 8 comments
  49. ▲ 708
    Rewrite Bun in Rust has been merged
    story by Chaoses · 2026-05-14 · 789 comments
  50. ▲ 3
    Bun now has official FreeBSD builds
    story by gr4vityWall · 2026-05-13 · 0 comments