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. …I have a hard time squaring the statement that Zig makes it "easy" to build memory safe programs. https://github.com/oven-sh/bun/issues?q=segfault%20OR%20segm...
    comment by ViewTrick1002 · 2025-11-17 · in Open-source Zig book
  2. …as deno - deno 44: https://github.com/denoland/deno/issues?q=is%3Aissue%20state... - bun 464: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by williamstein · 2025-11-11 · in Zig and the design choices within
  3. ▲ 3
    Bun v1.3 Released
    story by klaussilveira · 2025-10-11 · 0 comments
  4. …in Zig that are presumably quite exploitable. Unclear what to draw from this, though. [1]: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
  5. …discussions here on HN and the number of segfault issues in the Bun repo there is a core of truth. https://github.com/oven-sh/bun/issues?q=Segfault
    comment by ViewTrick1002 · 2025-09-20 · in Is Zig's new writer unsafe?
  6. https://github.com/oven-sh/bun/issues/22679 There's an open discussion about adding something similar to bun as well^ minimumReleaseAge doesn't seem to be a bulletproof solution so there's still some research/testing to be done in this area
  7. bun is also working on it: https://github.com/oven-sh/bun/issues/22679
  8. https://github.com/oven-sh/bun/releases/expanded_assets/bun-... progress: dynamically-linked musl binaries (tnx) next: statically-linked musl binaries
    comment by 1vuio0pswjnm7 · 2025-09-12 · in Behind the scenes of Bun Install
  9. Here is the code: https://github.com/oven-sh/bun/blob/7d5f5ad7728b4ede521906a4... We trust the self-reported size by gzip up to 64 MB, try to allocate enough space for all the output, then run it through libdeflate. This is instead of a…
    comment by Jarred · 2025-09-12 · in Behind the scenes of Bun Install
  10. …saw this comment and fixed your bun issue? Or maybe it just deleted code in a random manner idk. https://github.com/oven-sh/bun/commit/b474e3a1f63972979845a6...
    comment by hoten · 2025-09-11 · in Behind the scenes of Bun Install
  11. …of code before hitting a deal breaker. Last big issue I had with Bun was streams closing early: https://github.com/oven-sh/bun/issues/16037 Last big issue I had with Deno was a memory leak: https://github.com/denoland/deno/issues/24674 At…
    comment by dsissitka · 2025-09-11 · in Behind the scenes of Bun Install
  12. …you can do the same thing to autocomplete arguments? Bun still hasn't figured out how to do that ( https://github.com/oven-sh/bun/issues/6037 ), even though they can all but copy NPM's (already written) completions. I really liked using…
  13. …very much not memory safe. Which a cursory search for ”segfault” in the Bun repo quickly tells you. https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by ViewTrick1002 · 2025-08-12 · in Undefined Behavior in C and C++ (2024)
  14. …manually: curl -fsSL https://bun.sh/install | bash (Appears to have been triggered by a 503 for https://github.com/oven-sh/bun/releases/download/bun-v1.2.20... )
    comment by mik3y · 2025-08-11
  15. …behavior? I would say that a cursory search on ”segfault” in the Bun repo tells a different story. https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by ViewTrick1002 · 2025-08-10 · in Partially Matching Zig Enums
  16. …500 npm packages with lifecycle scripts, however none of the affected packages are on that list: https://github.com/oven-sh/bun/blob/main/src/install/default... ). Switching to a secure-by-default package manager, I think, is something…
  17. …issues and making it easier to manage dependencies. From the last issue linked in the PR ( https://github.com/oven-sh/bun/issues/1760 )
    comment by carlosneves · 2025-07-19 · in Bun adds pnpm-style isolated installation mode
  18. ▲ 114
    Bun adds pnpm-style isolated installation mode
    story by nateb2022 · 2025-07-19 · 16 comments
  19. https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by fleetfox · 2025-07-07 · in Deno 2.4
  20. …code (Zig) inside bun itself and just exposed to developers as a JavaScript API. Source code: https://github.com/oven-sh/bun/tree/6ebad50543bf2c4107d4b4c2...
  21. If you want to play with this, Bun 1.0.23+ seems to already have support: https://github.com/oven-sh/bun/discussions/4325
  22. …but i picked the first zig project that came to mind, bun, and it is riddled with segfaults https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by kobebrookskC3 · 2025-04-28 · in Ask HN: Memory-safe low level languages?
  23. …also compat the other way - there are the beginnings of node/browser polyfills for Bun-only APIs: https://github.com/oven-sh/bun/tree/main/packages/bun-polyfi...
    comment by porridgeraisin · 2025-03-24 · in Move on to ESM-Only
  24. Seriously? Bun has over 500 open issues with the label "crash". https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3... The socket implementation is broken too https://github.com/oven-sh/bun/issues/5627
  25. …project, Bun.js [#2], gives me pause. [#1]: https://github.com/ziglang/zig/issues/2646 [#2]: https://github.com/oven-sh/bun/issues?q=is%3Aissue+segfault
    comment by bikeshaving · 2025-02-05 · in Zig Guide
  26. might have been a problem in Bun that was fixed by: https://github.com/oven-sh/bun/pull/16747
    comment by leeoniya · 2025-01-25 · in Wild – A fast linker for Linux
  27. …If you've had any issues with dgram in 1.2, open an issue in our repo and I'll take a look :) [0] https://github.com/oven-sh/bun/issues/10381
    comment by heimskr · 2025-01-23 · in Bun 1.2 Is Released
  28. Maybe it depends on the project/dependencies. Still a lot of open/recent Windows issues: https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...
    comment by XCSme · 2025-01-23 · in Bun 1.2 Is Released
  29. looks like it's planned: https://github.com/oven-sh/bun/pulls?q=is%3Apr+is%3Aopen+mus...
  30. ▲ 2
    Next.js 15 Server Crash
    story by rtpg · 2025-01-18 · 0 comments
  31. …there is also a default list of packages that are allowed to run scripts on download with Bun, FYI https://github.com/oven-sh/bun/blob/main/src/install/default...
    comment by diggan · 2025-01-02 · in Developing inside a virtual machine
  32. …This role will involve lots of open-source low-level systems work, mostly in Bun's GitHub repo - https://github.com/oven-sh/bun and also in a commercial hosting product. Apply here: https://apply.workable.com/oven/j/A7A1388873/ Most of our…
    comment by Jarred · 2024-09-03 · in Ask HN: Who is hiring? (September 2024)
  33. …and become standardized. [0] https://github.com/sdegutis/vanillajsx.com/blob/main/site/un... [1] https://github.com/oven-sh/bun/issues/13630 [2] https://github.com/denoland/deno/issues/25312
    comment by novocantico · 2024-08-30 · in Proposal for Standardized JSX
  34. ▲ 1
    Bun: Roadmap
    story by tosh · 2024-08-27 · 0 comments
  35. …to add node:cluster to Bun [2]. [1] https://docs.deno.com/runtime/manual/node/compatibility/ [2] https://github.com/oven-sh/bun/pull/11492
    comment by throwitaway1123 · 2024-07-30 · in Why is spawning a new process in Node so slow?
  36. …are fun WTF[0] errors with Bun, and I only tried Deno before the npm import feature landed.) [0] https://github.com/oven-sh/bun/issues/11420
  37. …on the bytes that need to know about encoding... so for base64 they just use the bytes directly: https://github.com/oven-sh/bun/blob/main/src/base64/base64.z... [1] https://ziglang.org/documentation/master/#String-Literals-an...
  38. …most of that is coming from uWS, which is pretty much best performing HTTP framework out there ime. https://github.com/oven-sh/bun/blob/main/src/http.zig#L34
    comment by billywhizz · 2024-04-27 · in Bun’s New Crash Reporter
  39. …node:http2 createServer is not yet implemented in Bun. Track the status & thumbs up the issue: https://github.com/oven-sh/bun/issues/887 code: "ERR_NOT_IMPLEMENTED" at new NotImplementedError (internal:shared:19:27) at internal:shared:2:69…
    comment by herpderperator · 2024-04-26 · in Bun’s New Crash Reporter
  40. …(my assumption for the release happening anyway). AFAIK this[1] PR tries to fix them. [1]: https://github.com/oven-sh/bun/pull/9729
    comment by vallode · 2024-04-02 · in Bun 1.1
  41. …support is a bit kludgy though. Once you know of the workarounds, it's ok. See my comment on https://github.com/oven-sh/bun/issues/5413#issuecomment-1956... AFAIK, Pnpm monorepos do not follow standard npm. Bun does follow standard npm…
    comment by briantakita · 2024-04-02 · in Bun 1.1
  42. …I think this could be a quite a useful thing, a universal binary format. Then I see the shim DLL: https://github.com/oven-sh/bun/blob/801e475c72b3573a91e0fb4c... Even before this past week's XZ backdoor revelation, checking binaries into…
    comment by MarkSweep · 2024-04-02 · in Bun 1.1
  43. You can track the progress here: https://github.com/oven-sh/bun/issues/1825 There's still a ways to go but folks are actively contributing.
    comment by afturner · 2024-04-02 · in Bun 1.1
  44. …uploading telemetry data was disabled, but he also said he plans to re-enable that at some point: https://github.com/oven-sh/bun/discussions/2605#discussionco... I would prefer to have the telemetry become opt-in before data collection is…
    comment by throwitaway1123 · 2024-04-02 · in Bun 1.1
  45. Mac code signing needs the machine id? https://github.com/oven-sh/bun/blob/801e475c72b3573a91e0fb4c... https://github.com/oven-sh/bun/blob/801e475c72b3573a91e0fb4c... Why then is the unique machine id collected on Linux?
    comment by notelem · 2024-04-02 · in Bun 1.1
  46. …find out that it has significant differences to node -- like not handling uncaught exceptions: https://github.com/oven-sh/bun/issues/429 Then you'll use bun build and run node in production, only to find that sourcemaps don't actually work…
    comment by ibash · 2024-04-02 · in Bun 1.1
  47. …by adding the following to your environment: export DO_NOT_TRACK=1 This is the data collected: https://github.com/oven-sh/bun/blob/801e475c72b3573a91e0fb4c... This 64 bit machine_id line is concerning:…
    comment by notelem · 2024-04-02 · in Bun 1.1
  48. …node, deno, and bun here [2]. Node SEA is a bad DX, but not that complex once you figure it out. 1: https://github.com/oven-sh/bun/issues/6832 2: https://github.com/llimllib/node-esbuild-executable
    comment by llimllib · 2024-04-02 · in Bun 1.1
  49. …a way to disable it for single-file executables if you plan to distribute a Bun cli app to users: https://github.com/oven-sh/bun/issues/8927
    comment by throwitaway1123 · 2024-04-01 · in Bun 1.1
  50. …Bonus points for clarity on the stability guarantees that are offered between versions and modules. https://github.com/oven-sh/bun/issues/7990 (Via https://github.com/endoflife-date/endoflife.date/pull/4382 )
    comment by captn3m0 · 2024-04-01 · in Bun 1.1