| ▲ | Cruller: Bun's Zig Runtime, Continued on Zig 0.16(ziggit.dev) |
| 56 points by Erenay09 4 hours ago | 14 comments |
| |
|
| ▲ | andai 2 hours ago | parent | next [-] |
| There seems to be some confusion here (including in the linked discussion?) about what this is. This is not continuing the development on the original Bun (Zig) codebase. It is extracting a subset of that codebase for deployment purposes. The full version of Bun (presumably in Rust?) will continue to be used for actual development. So it is not a replacement for Bun, but a supplement to it. https://news.ycombinator.com/item?id=49018157 |
| |
| ▲ | ForHackernews 35 minutes ago | parent | next [-] | | > Cruller is not intended to replace Bun for development. It is a minimal, specialized runtime for executing production code. > In any case, I do not want to throw away such a large codebase that has taken several years to build. It makes more sense to turn it into a convenient embeddable library that can be used throughout the Zig ecosystem. This seems pretty sensible to me. It's nice if the Zig ecosystem has an embeddable JS runtime. | |
| ▲ | m00dy an hour ago | parent | prev [-] | | yeah, no place for amateurs |
|
|
| ▲ | pjmlp 2 hours ago | parent | prev | next [-] |
| As usual, most forks created out of community rupture eventually die. |
| |
| ▲ | flohofwoe an hour ago | parent | next [-] | | I think there are quite a few high profile examples where the fork was successful (egcs comes to mind which eventually became the official gcc, also all the BSD flavours). And even when the fork ultimately isn't successful, it sometimes at least forces the original project to adapt (e.g. ffmpeg vs libav). E.g. "it's difficult to make predicitions, especially about the future" ;) PS: of course for this specific project I don't quite understand the reason. The original Bun was largely a line-by-line port of esbuild from Go to Zig, so it's not like the original codebase was a marvel of engineering to begin with... | |
| ▲ | TurdF3rguson an hour ago | parent | prev [-] | | I don't know that there's ever been a high-profile fork of a product acquired by such a fat, mealy, and genuinely unspooling parent as Anthropic's acquisition of Bun before. But by all means I would love to hear some examples of that. |
|
|
| ▲ | holysantamaria 3 hours ago | parent | prev | next [-] |
| What makes Bun Bun is all the things that got removed from this project. Node is already powerful enough and well maintained. Why would anyone use this? |
| |
| ▲ | dgellow 3 hours ago | parent [-] | | > The main design decision is to treat this as a runtime, not a general-purpose Bun replacement. A minimal launcher loads a pre-built entrypoint; features that require package installation, bundling, TypeScript transformation, or bun test are intentionally outside the scope. The author is saying explicitly they don’t want to make a Bun replacement |
|
|
| ▲ | Copenjin 3 hours ago | parent | prev | next [-] |
| Heroic effort, sifting through that code I mean, but frankly I would have started a new one from scratch, the only thing of value is the name/popularity of the original project. |
|
| ▲ | jdw64 an hour ago | parent | prev [-] |
| But according to Andrew Kelly, Bun was full of bad Zig practices. So why did they keep pushing forward with Zig? |
| |
| ▲ | Juncture0 3 minutes ago | parent | next [-] | | It seems you misunderstand what happened to Bun: Anthropic has burned some investor money for a PR stunt -- our LLM can port this -- and also to punish Zig which dared to ban LLM contributions by taking away a significant project from the ecosystem. It worked, Rust didn't dare to enact a similar ban. | |
| ▲ | aureate 22 minutes ago | parent | prev | next [-] | | Indeed it's surprising, given the zig compiler famously causes all developers who use it to merge into a single organism with a combined nervous system. | | | |
| ▲ | romanovcode 31 minutes ago | parent | prev [-] | | Because their ego got hurt that a big project decided to not use their "amazing" language. |
|