| ▲ | Buz – A fork of Bun using modern Zig, with sub-1s incremental builds(ziggit.dev) |
| 150 points by kristoff_it 6 hours ago | 105 comments |
| |
|
| ▲ | wsdn 3 hours ago | parent | next [-] |
| > To this end, LLMs will be used extensively to deslop... So we're using LLMs to clean up the code that LLMs ruined in the first place? We’ve reached peak tech in 2026. |
| |
| ▲ | williamdclt 3 hours ago | parent | next [-] | | Well so far we've been using humans to clean up the code that humans ruined in the first place, it's hardly a logical fallacy | |
| ▲ | axod 3 hours ago | parent | prev | next [-] | | LLMs are as good as the operator directing them. | | |
| ▲ | lionkor 3 hours ago | parent | next [-] | | The error bars on that one are too large to fit on screen, but yes. | | |
| ▲ | pixl97 an hour ago | parent | next [-] | | You should see the error bars between human programmers. | |
| ▲ | baq 2 hours ago | parent | prev [-] | | Only if you have a tiny screen. You can make them output what you would've written yourself, but that would be slower than writing it yourself, so no one does that - but it’s trivially true. | | |
| |
| ▲ | epolanski 3 hours ago | parent | prev [-] | | I'd say as thorough rather than good. Skilled engineers may still vibe and not care. Beginners may be thorough and experiment and ask till they get the design right even if they don't spot it immediately, just caring does a lot. | | |
| ▲ | left-struck 3 hours ago | parent | next [-] | | Incidentally I’ve always thought that about working on cars, but more like skilled mechanics may still vibe and not care. Amateurs may be thorough but much slower, may need to do a lot of research before every step. Just caring does a lot. | |
| ▲ | pseudocomposer 2 hours ago | parent | prev [-] | | I agree with you about “thoroughness” being key here, but I’d additionally advocate that we need to leave room for people to make some slop learn it. Part of the learning process, whether you’re a “skilled” or “unskilled” engineer (or not an engineer at all, and noting that going from one to the other is just a matter of learning), is being able to “vibe and not care.” Yes, it’s also helpful to identify things that might not work out theoretically in advance, using the things we learn in our CS programs. But coding with LLMs is a brand new modality, and we are all indeed just learning to work with them. I think alternating vibe coding with vibe-assisted DRYing/cleaning is ultimately a workflow enhancer that can make better software faster. But engineers have to be allowed to make some slop to learn it. |
|
| |
| ▲ | maccard 3 hours ago | parent | prev | next [-] | | I’d say I fall in the “AI skeptic but willing to use it” category. If LLMs can actually clean up after themselves it would actually be a game changer. | | |
| ▲ | jerf 2 hours ago | parent | next [-] | | LLMs can clean up after themselves if you steer them. It's not very hard. I often have a two-step dance I do where the LLM first outputs some code and then I prompt it to fix the types up to my standards. I haven't found a way to prompt it with any number of skills or CLAUDE.mds or anything else to get it to do it the way I want on the first pass, but it's not that hard to just fix it afterwards. It's a fast enough process that it feels fine using it. One can even make a case for it being a decent way to operate anyhow; make a sketch, then firm it up isn't entirely unlike my manual coding process was anyhow. The main problem is that pointing an LLM at a codebase and telling it to just "make it better" taps out pretty quickly. That is, not that there's zero juice to squeeze there, but there's not a ton. You can get a bit of improvement but it also rapidly starts changing things just to change things, which I'm not even going to complain about all that much because there's a sense in which it is simply doing as you asked. So you still need human taste and direction. This will be especially true for something the size of that codebase where you can only hold small fractions of the actual code in the context window at once. Summaries only get you so far. | | |
| ▲ | andai an hour ago | parent | next [-] | | I asked an agent for some high level cleanup and refactoring. I found that I ended up disagreeing with most of the structural changes. Some of them were necessary, some were beneficial, but largely it turned straight line code into abstract factory manager type stuff. More broadly I've found that making code more elegant (e.g. by removing duplication) increases the cognitive load, because now you can't just read the code anymore but need to mentally "decompress" the higher level structures and indirection into the straight line code, the "code that actually runs." | |
| ▲ | maccard an hour ago | parent | prev [-] | | > LLMs can clean up after themselves if you steer them. It's not very hard. I often have a two-step dance I do where the LLM first outputs some code and then I prompt it to fix the types up to my standards. My experience has been the opposite. I prompt it and it generates something that mostly works, but steering it into something that would actually be maintainable is an exercise in futility. GPT-5.5 uses up my entire allocation of tokens in just reading the context docs and doing a single shot task. > aven't found a way to prompt it with any number of skills or CLAUDE.mds or anything else to get it to do it the way I want on the first pass, but it's not that hard to just fix it afterwards. I've yet to find a way to get an LLM to actually follow the instructions in CLAUDE/Agents.md It very quickly gets to a point where it forgets explicit instructions such as "run clang-format on all .h/.cpp files that you touch", and saying "our coding standards can be found at <link to Notion/Confluence>, please ensure all code adheres strictly to this standard" is ignored. I'd also say that the first pass of the code is very often not even close to how it _should_ be implemented so it's not just review and patch up, it's rearchitect + restructure 50% of the code. > it also rapidly starts changing things just to change things, Agreed. LLM's are (very good) text generators. They are good for generating code, and left to their own devices they will generate and generate and generate. Getting them to edit, simplify, and foresee future problems is something that people keep saying "use the latest model, it's amazing (despite saying that about the last 3 models" or "you just need to use <harness|framework>" or "your agents.md needs to contain XYZ" will solve. | | |
| ▲ | jasonlotito 19 minutes ago | parent [-] | | > I've yet to find a way to get an LLM to actually follow the instructions in CLAUDE/Agents.md I'll give you a hint: do you rely on people to do the right things, or do you have automated unit, integration, and e2e testing? Do you have linters? Do you have static analysis that automatically runs and will block when violated? If you are verifying humans, why aren't you verifying LLMs? |
|
| |
| ▲ | owaislone 32 minutes ago | parent | prev | next [-] | | You have to treat it like a co-worker send you PRs for review. You review, ask to improve/cleanup stuff and it'll follow up. You can even ask it to remember so it follows the patterns in future. Even better, if you work with it to come up with a design first and then send it coding, you often don't need as much cleanup as the desired architecture is agreed upon early. | |
| ▲ | onlyrealcuzzo 3 hours ago | parent | prev | next [-] | | I'm about to release some tooling that's been very effective for me. Essentially, there's a few ways LLMs write "bad" code that is different from how people write "bad" code. We've got pretty good tooling to catch the ways people write bad code - it just happens to be much easier to do with static analysis (and is less noise prone). The ways LLMs write bad code is typically 1) bad architecture - hard to detect in the ways that are really important, 2) unnecessary state and control flow (and decisions based on state), 3) bad / inadequate tests. Methods to detect these problems have existed for ages, but they've never caught on because it's typically too difficult to tune them to have high signal / noise for humans, and AFAIK - no one else tried putting them all together and seeing how LLMs work with it. LLMs are great at sorting through signal / noise -> so you can help surface potential issues with metrics that would be too noisy for humans, but seems to work pretty well for LLMs to find the source of architectural problems and design better solutions (from my experience - may be biased, I built the tooling to literally solve this problem for the main project I'm working on). | | |
| ▲ | andai 16 minutes ago | parent | next [-] | | Can you elaborate on the tests thing? I'm new to testing, and AI agents recently voluntarily added an large number of tests to one of my projects. I've been learning a lot by reading them, and it seems like a great habit to develop. But they're also writing some very strange code and some very strange tests. I don't know what good practices look like here, so when something looks strange to me I can't trust my own judgment, whether it's actually smelly or just a pattern I'm not used to yet. -- On a side note, I recently had an agent implement a major architectural change. It turned out to have done it completely backwards, in a way that was pointless. (Improved nothing and actively made things worse.) However it had supplied generous tests for the new code, and of course all the tests passed... So it had "proven the correctness" of something which was completely incorrect. I later realized that even formal verification would not have prevented this. It would have just written a mathematical proof that the wrong code was correct. | |
| ▲ | mirekrusin 3 hours ago | parent | prev [-] | | You forgot to include link to your tool. | | |
| ▲ | all2 an hour ago | parent | next [-] | | If I had to do a 'code quality' checker I think I'd try to use some combination of syntax tree analysis, data flow analysis, and LOC changed. Something like that. Too many new nodes in the syntax tree, or a sub-tree that appears sufficiently similar to another sub-tree (for various definitions of similar), data-flow/side effects gets more convoluted, too many LOC, and so on. | |
| ▲ | onlyrealcuzzo an hour ago | parent | prev [-] | | An LLM could probably figure out how to use it now. But it doesn't yet have a coherent UX unless you're me. Hopefully, I'll iron that out over the next week and I'll update you. |
|
| |
| ▲ | figmert 3 hours ago | parent | prev [-] | | They can. You just have to steer them |
| |
| ▲ | andai an hour ago | parent | prev | next [-] | | I came here to post the same thing. But this is addressed later in the same paragraph: > But hopefully better development practices, with a human in the driver’s seat, and a focus on reducing technical debt and writing idiomatic Zig, mean that in a few weeks or months there will be a presentable codebase that serves as a drop-in replacement for Rust Bun 1.4.0. So the intention here is simply more steering. Or perhaps better steering (code structure appears to be a matter of taste... I had a very perplexing chat with a friend yesterday who insisted that four backend processes were required to serve a single HTTP request...) | |
| ▲ | f17428d27584 an hour ago | parent | prev | next [-] | | This was always the plan. Code is no longer written by humans, code is LLLM output of broken slop that is mostly software-shaped, impossible for humans to read and make sense of it (because it makes no sense). So the only solution is that all code is intended to be read and written by machines. The human-in-the-loop era was always a stopgap. | |
| ▲ | nullbio an hour ago | parent | prev | next [-] | | Yeah, good luck with that one though. LLMs are terrible at deslop, or they wouldn't slop in the first place. | | |
| ▲ | fhd2 an hour ago | parent [-] | | Not entirely my experience. LLMs can be good at two things, but unable to be good at them _at the same time_. I've had some success with getting decent simplification suggestions out of them. Still ironic, of course. |
| |
| ▲ | epolanski 3 hours ago | parent | prev | next [-] | | This is the present and future, willingly or not. Engineering is about design and plan and architectural integrity and qa. Not writing code anymore. | | |
| ▲ | onlyrealcuzzo 3 hours ago | parent [-] | | > Not writing code anymore. If you were an L6+, it was already not really about that. It's kind of amazing to me that people think the only thing engineers do and the only value they bring is writing code. | | |
| ▲ | pi-victor an hour ago | parent [-] | | you'd be amazed how many do just that and are incredibly bad at anything else that does not involve opening up an IDE that spoon feeds them everything they need. |
|
| |
| ▲ | serial_dev 2 hours ago | parent | prev [-] | | You have no idea, to slop-circle is getting more common. In 2025, sometimes I decided to put a slop LinkedIn post to ChatGPT (back then) to deslopify. Now, the slop circle is everywhere. Your PO uses automations to create tasks? Half of the comments are bot slop? Links to documents never edited or read by another human? A lazy three sentence description of a task requirement you would have gotten previously sounds like a dream. Now everything generates pages long texts and you can't possibly go through the slop without AI agents. You need your agents comb through the slop and demystify the task for you. Same with the other end... Slop PRs will be reviewed by your agents, hoping you catch 2-3 issues so that you can pretend you did a review. The author didn't do a review on their generated slop, but sure, let's pretend reviewers still review code. |
|
|
| ▲ | robertlagrant 3 hours ago | parent | prev | next [-] |
| > I’ve cut over 11,000 lines of completely dead code from Bun. I can’t think of another project whose codebase was so neglected as to reach 11K lines of dead code. I’ve also rewritten and modernized parts of the codebase, trying to rely more on Zig’s stdlib. In the process, countless bugs have also been fixed. This is astonishing. Is anyone else surprised at this dead code figure? Is it a feature of large projects I've just never noticed? |
| |
| ▲ | singron 2 hours ago | parent | next [-] | | TFA says the whole codebase is 600k, so that would be 1.8% dead code. IME dead code is much more common in larger codebases as figuring out that code is dead becomes more non-local and changes over time create dead code at a distance. I'm also not sure if the 11k was trivially dead (`if (false) { dead_code(); }`) or if it was more subtle (e.g. dynamically-dispatchable code that can't logically be called). The 1.8% feels high if it's trivially dead. When I've run simple static analysis on decent codebases before, it's been much lower. For non-trivial dead code, it might be low. E.g. a lot of projects have piles of "dead" code behind ancient feature flags that would never be switched. A small amount of dead code is fine. E.g. it might not be worth deleting utility methods that you happen to remove the last use of if they are simple and you might re-add a use later. Generated code is often dead since it's not worth specifying to the generator exactly what will be used. Other times, deleting dead code can lead to a valuable cascade of other deletions and simplifications. | | |
| ▲ | jasonjmcghee 35 minutes ago | parent [-] | | LLMs from 1+ years ago approached solving every problem by adding additional code and not cleaning up or adding strange unnecessary backwards compatibility (and often still do this kind of thing - "all tests green") |
| |
| ▲ | hansvm 2 hours ago | parent | prev | next [-] | | At my last company I cut 8k lines from a 10k component and fixed every major bug in the process. It wasn't "dead" per se, but if you start by cleaning up one little bad abstraction then that opens opportunities for the next one and the one after that till eventually all you're left with is software which actually does what it's supposed to. That hasn't been a unique experience either -- quite the opposite. Codebases bloat over time. The only thing astonishing to me is that in something as large as Bun they only found 11k lines. | |
| ▲ | asibahi 3 hours ago | parent | prev | next [-] | | The Zig compiler compiles lazily and does not detect dead code. (Read: functions that are not called from any compiled functions) | | |
| ▲ | robertlagrant 2 hours ago | parent [-] | | That makes total sense (though it would be nice if it could do that detected, I suppose), but what makes less sense to me is the accumulation of unnecessary code (and presumably unit tests for that code) that isn't removed as soon as it's no longer needed. | | |
| ▲ | dnautics 2 hours ago | parent [-] | | hard to detect. what if a whole code branch is used by macos and you're on x86? | | |
| ▲ | robertlagrant 2 hours ago | parent [-] | | I don't understand - wouldn't this be observable by the person making the change? They used to call this function / use this class and now they don't any more? Even if it's inside a conditional compilation block. | | |
| ▲ | dnautics 18 minutes ago | parent | next [-] | | i did not say "Impossible to detect"! in practice the exponential explosion of options may become intractable. lets say you have 10 compilation flags with 10 options each. not syre you want the compiler scanning through all that on each pass | |
| ▲ | zdragnar an hour ago | parent | prev | next [-] | | That requires a person to be making that change. If the change is vibe coded and the person is only checking that the tests pass, it's not hard for cruft to accumulate. | |
| ▲ | wmedrano an hour ago | parent | prev [-] | | The hard to detect is the compilers technical reason for not doing the analysis. Maybe it will one day. In practice, it's annoying to track if those small util functions become dead code. |
|
|
|
| |
| ▲ | ryan_lane 2 hours ago | parent | prev [-] | | I'm astonished that anyone is astonished by this amount of dead code in any large code-base. That's like 10 somewhat normal sized PRs worth of code. | | |
| ▲ | hombre_fatal 35 minutes ago | parent [-] | | Same reaction here. 11,000 lines is nothing for a project this large. It's bog standard, very mild technical debt. |
|
|
|
| ▲ | kristoff_it 3 hours ago | parent | prev | next [-] |
| To me the most interesting fact about this fork is that it has proven that Bun could have had fast builds all along. To be fair, there are caveats still in place today: Zig incremental compilation does not yet support aarch64 and only the linux linker supports binary patching, but it's just a matter of time before all major platforms are conquered. |
| |
| ▲ | dtj1123 2 hours ago | parent [-] | | After the all the noise surrounding the forking of the Zig compiler in order to speed up builds, I'm really surprised that this isn't the top comment. The fact that a one-man team achieved 1s build times proves pretty conclusively that slow build times were entirely result of negligent development practices, and that the fork was a complete misallocation of time. | | |
| ▲ | skeledrew 2 hours ago | parent | next [-] | | A significant part of the port was also for the built-in safety. Unsafe code just... fails to compile. Turns out there's a journey here. | | |
| ▲ | Philip-J-Fry an hour ago | parent [-] | | The port was line for line and full of unsafe code. It didn't prevent any bugs. They're not using Rust for its strengths. | | |
| ▲ | skeledrew an hour ago | parent | next [-] | | You should give the article[0] a read. "A large percentage of bugs from that list are use-after-free, double-free, and "forgot to free" in an error path. In safe Rust, these are compiler errors and RAII-like automatic cleanup with Drop. Compiler errors are a better feedback loop than a style guide." "At the time of writing, about 4% of Bun's Rust code sits inside an unsafe block (~13,000 unsafe keywords across ~27,000 lines / ~780,000 lines), and 78% of those blocks are a single line — a pointer that came from C++, or one call into a C library. I expect this number to go down over time as we refactor from a faithful Zig port (which had no greppable unsafe keyword) to idiomatic Rust, but we are going to continue using C & C++ libraries like JavaScriptCore so it will always have more unsafe than pure Rust projects." [0] https://bun.com/blog/bun-in-rust | | |
| ▲ | bunderbunder 22 minutes ago | parent [-] | | That one’s interesting to me because it speaks to both sides of the debate. Yes, safe Rust is good for catching those kinds of errors at compile time. But also, it should theoretically be very easy for a compiler to avoid those problems in Zig, too, if you are using the language the way it wants to be used. Which, from what I’ve experienced so far, does seem to take a whole lot more effort if you’re using a coding agent. I spend an incredible amount of time making sure mine doesn’t bloat our codebase with Java-flavored Python, and all the noise and defects and performance problems that it brings. |
| |
| ▲ | atombender 17 minutes ago | parent | prev | next [-] | | The original Zig code is metaphorically one big unsafe block. Even if the Rust port is made up of 3% unsafe blocks, that still means 97% of the original Zig code has been made safe (in the Rust sense). | |
| ▲ | insanitybit 25 minutes ago | parent | prev | next [-] | | They turned every hidden memory safety bug into a grep'able memory safety bug. That's step 1 and a massive win. | |
| ▲ | samwillis 43 minutes ago | parent | prev | next [-] | | They have made it very clear that the mechanical translation is the starting point, and are refactoring to remove as many unsafe declarations as possible. | |
| ▲ | neuronexmachina 31 minutes ago | parent | prev [-] | | That may have been the case for the initial iteration a few months ago, but is it still true? |
|
| |
| ▲ | IshKebab an hour ago | parent | prev [-] | | I'm pretty sure they forked Zig long before it supported incremental compilation. In fact, it's still experimental and not enabled by default. |
|
|
|
| ▲ | 1a527dd5 3 hours ago | parent | prev | next [-] |
| This is what I like to call performative performance programming. I _LOVE_ performance as much as the next guy. And build times should be as close to 0 seconds as possible. But this is approaching diminishing returns and I guarantee that your CURRENT bottleneck is not build times. |
| |
| ▲ | kristoff_it 2 hours ago | parent [-] | | The people who originally worked on Bun themselves would disagree with your point (but their situation was based on the premise that they did not take the steps required to leverage incremental compilation): https://zackoverflow.dev/writing/i-spent-181-minutes-waiting... And, unrelated to Bun, I too would disagree. You don't want to have to wait minutes for a build to complete before you can run the test suite, or even just know if there was a semantic error in your code. Build times are 100% a bottle neck for big-enough projects. | | |
| ▲ | nextaccountic 2 hours ago | parent [-] | | > TLDR; The Zig compiler takes about 1 minute and 30 seconds to compile debug builds of Bun. Zig's language server doesn't do basic things like type-checking, so often have to run the compiler to see if my code works. 90 seconds to less than 1 second. That's astonishing |
|
|
|
| ▲ | christophilus 4 hours ago | parent | prev | next [-] |
| Bun, but managed by someone who values code quality? Sign me up. It’s a Herculean task, though. |
| |
| ▲ | koolba 3 hours ago | parent [-] | | > It’s a Herculean task, though. I believe it’s spelled Sisyphean. | | |
| ▲ | _bent 3 hours ago | parent [-] | | the fifth labour of Hercules was cleaning the Augean stables, which this undertaking seems very much alike | | |
| ▲ | ModernMech 2 hours ago | parent [-] | | But Hercules eventually finished, I think what koolba is saying is this task can't be finished. | | |
| ▲ | all2 an hour ago | parent [-] | | Is one ever truly finished rebuilding an entire code-base one piece at a time? |
|
|
|
|
|
| ▲ | arendtio 3 hours ago | parent | prev | next [-] |
| Why is there so much buzz around bun? Can't we just go back to node + npm + vitest + vite? |
| |
| ▲ | virajk_31 3 hours ago | parent | next [-] | | Breaking: JavaScript developers create three new frameworks/kits while you were reading this sentence. | |
| ▲ | root_axis 37 minutes ago | parent | prev | next [-] | | > Can't we just go back to node + npm + vitest + vite? You're kind of stating the reason for the buzz there: one runtime that does everything you need rather than cobbling together a dozen different tools. Not that there's a problem cobbling together different tools made to do a job, each tool has a purpose and solves a problem, but having all problems solved out of the box is very convenient. Bun does offer an additional major advantage, i.e. the bundler has a runtime API, so the same process that serves your assets can also bundle them in memory without having to coordinate an external bundler writing static files to disk. | |
| ▲ | andyfleming 3 hours ago | parent | prev | next [-] | | There’s a project Nub that is meant to bring the benefits of bun to node, which you might appreciate. It also may articulate that gap as to why people like using bun. https://nubjs.com | | |
| ▲ | kachnuv_ocasek 3 hours ago | parent [-] | | What are the benefits, though? | | |
| ▲ | christophilus 3 hours ago | parent | next [-] | | With Bun, I have a single dependency which gives me: bundling, runtime, package management, test runner, SQLite, Postgres connectivity, S3 utilities, sane APIs (compare Bun.serve to whatever the heck I had to do in Node), routing… Basically, Bun is giving us something between Rails and the .Net framework for Typescript. It’s become an (almost) standalone runtime for running low-dependency apps. | |
| ▲ | dhamidi 3 hours ago | parent | prev [-] | | This: node + npm + vitest + vite
Turns into: bun
That's the benefit | | |
| ▲ | stevefan1999 3 hours ago | parent | next [-] | | I rather replace bun with deno, given that now both bun and deno are written in Rust, and Deno have even more node compatibility than bun. Deno and Node both runs on V8, while Bun runs on JSC, and Deno has a killer feature that you don't have to even run npm install to use package, you can just top-level import or await import an URL (given that you allowed it with a command prompt or bypass it competely with -A but discouraged). I've used Deno, CucumberJS and Playwright to write E2E test suites. Zero npm install and not even deno.json or package.json | |
| ▲ | Octoth0rpe 3 hours ago | parent | prev | next [-] | | Throwing out a couple more benefits: bun is faster than node, dramatically so in some specific cases (websockets). Bun also has been doing a great job at building out core libs that probably don't make sense for node, such as the native inbuilt sqlite module, thereby reducing your dependency graph. People shit on the node/npm ecosystem relentlessly for the typical inauditable deep dependency graph, and bun makes substantial improvements to that situation. Edit: bun recently added an inbuilt api for manipulating images (resize, change formats, etc). Another good example of them adding native/faster functionality that replaces significant dependencies (in this case, likely sharp: https://www.npmjs.com/package/sharp?activeTab=versions) | |
| ▲ | chuckadams 3 hours ago | parent | prev [-] | | To say nothing of `bun install` being about 50 times faster than npm, and disabling most post-install hooks by default. |
|
|
| |
| ▲ | coldtea 3 hours ago | parent | prev | next [-] | | >Can't we just go back to node + npm + vitest + vite? The mere enumeration shows how bad it is. | | |
| ▲ | mnahkies 3 hours ago | parent | next [-] | | I think it's a pretty reasonable split of responsibilities, and not uncommon. Eg: JDK + maven + junit + tomcat Making these components pluggable is arguably how we get innovation (eg: yarn/pnpm, jest/vitest, etc) | |
| ▲ | tavavex 32 minutes ago | parent | prev | next [-] | | Why? Is fewer things always better? How far should it be consolidated? Taking it to an extreme, would having a tool named Everything that does anything you could imagine in relation to web dev be better? | |
| ▲ | arendtio 24 minutes ago | parent | prev [-] | | Well, do one thing an one thing good as in Unix philosophy? - Runtime - Package manager - Test runner - Build tool |
| |
| ▲ | paxys an hour ago | parent | prev | next [-] | | Every new framework gets buzz on HN and is forgotten a day later. Meanwhile 99% of developers never left node + npm + vite in the first place. | |
| ▲ | rapind 3 hours ago | parent | prev | next [-] | | At this point, I'm not sure anyone should still be using npm. | | |
| ▲ | quantummagic 2 hours ago | parent [-] | | Seriously. The only way to use it is to be a very religious person. You have to pray every single time you use it that your system doesn't become compromised. | | |
| ▲ | arendtio 22 minutes ago | parent [-] | | But isn't this a problem with the ecosystem and not with the program? I mean, with yarn / etc., you have the same problems, don't you? |
|
| |
| ▲ | epolanski 3 hours ago | parent | prev [-] | | Node is too slow, plain and simple. I've experimented a lot with all nodes up to 24 latest and bun has consistently led to sizeable speed ups. |
|
|
| ▲ | dash2 2 hours ago | parent | prev | next [-] |
| I'd also like to see a (kind of) opposite approach: a fork of zig using only AI contributions. This is more as conceptual art or an experiment, rather than because I strongly support AI. But it would be fun to see how the two projects evolved.... |
|
| ▲ | sausagefest 11 minutes ago | parent | prev | next [-] |
| Stop forking bun. Use regular Node.js. Then making something people want. |
|
| ▲ | ksec 3 hours ago | parent | prev | next [-] |
| >11K deadcode. How did they end up there? There was another project trying to savage what is left of Zig Bun and turned it into a smaller runtime. I hope may be the project could both work together. |
|
| ▲ | Retr0id 4 hours ago | parent | prev | next [-] |
| > I don’t think any human should sacrifice their sanity untangling this mess of 600K lines of slop code. For that reason, I will not be accepting any human-coded contributions until I deem the project to be in a sane enough shape. Very funny to see a "no humans allowed" contribution policy, and the absurd part is that the rationale actually makes sense. I'm interested to see where this goes. Is it possible to "deslop" something of this magnitude? |
| |
| ▲ | childintime 4 hours ago | parent [-] | | As AI will only get better, accepting contributions can also be automated. The tendency is that open source will die as a collective effort, except for some hardcore stakeouts. AI will become the repository owner. The rest of us just doesn't care enough. This puts users in control.. just pay and you get your feature in a version generated just for you. | | |
| ▲ | hombre_fatal 19 minutes ago | parent | next [-] | | You're way ahead of the folks here and they've made you pay for it. Yeah, with AI you can just fork code, get a fix/feature added, and then have AI fold back in changes if you even care about them. Maybe people didn't realize you meant that the collective effort of human maintainers is what's dying? As AI gets better it becomes even more trivial to drive a project. The idea of bike-shedding with other people or campaigning to get in some feature that's critical to you becomes pointless. Just last month I forked libghostty to have AI implement some features I wanted for my personal terminal project, then last week I started getting AI to build me my own terminal engine in Swift. It came up with its own smart architecture like splitting the execution plan vs render as pty feeds come in, and many other nice things I wouldn't have had the foresight to consider on day 1 had I started the project myself. Not to mention it would have taken me many months of time I don't have. Granted, it's a week of daily work to get it to a point where I'd use it, and probably another week of polish to where I'd swap libghostty for it. Especially with my slower AI workflow that guarantees robust, well-designed code. But I've written no code, the writing is on the wall, and this is the worst AI will ever be. | |
| ▲ | titularcomment 4 hours ago | parent | prev | next [-] | | This does anything but put the user in control. I also think that arbitrary new features on established platforms are not in any close future as it already burns many tokens for you to instruct your agent to fork something and add x, y, z. | | |
| ▲ | childintime 3 hours ago | parent [-] | | AI will improve more rapidly than you imagine it will. Open source has been built around rituals that will go the way of the LP: for the nostalgic enthusiast only. This project already shows nobody cares enough now, let alone a year from now. AI is already better than 90% of my colleagues, and none of them can write an exploit, or instantly draw on the breadth of information it can. So all they do is chaperone. Well, that will be gone too in a few years. What will remain are example repositories that serve as the starting point to add your own special feature. The curated set may well become private again, as a competitive advantage. |
| |
| ▲ | hiccuphippo 3 hours ago | parent | prev [-] | | >AI will become the repository owner So Open Source transitions to Public Domain. |
|
|
|
| ▲ | paxys an hour ago | parent | prev | next [-] |
| Wouldn't be JavaScript without a new flavor of the month runtime or framework. |
|
| ▲ | aizk 2 hours ago | parent | prev | next [-] |
| Performative programming |
|
| ▲ | 999900000999 2 hours ago | parent | prev | next [-] |
| Here’s my idea. DinnerRoll Bun in D! If someone with an MBA wants to raise capital we can start next Tuesday! |
|
| ▲ | fg137 4 hours ago | parent | prev | next [-] |
| Very interesting, but without an ecosystem I doubt this person can keep maintaining it long term. Bun users who don't care about slop will continue to use Bun, those who care will go back to Node.js, and there isn't much left for this project. It is a gigantic task to maintain a JS runtime and add features. |
| |
| ▲ | ForHackernews 3 hours ago | parent | next [-] | | What's the situation with Deno these days? I care about having a fast/secure/modern JS environment and I've been burned by node.js in the past. I'm not that optimistic for Bun with all the recent churn/slopcoding but the pitch of "use this one good TS tool for everything" is appealing. | |
| ▲ | epolanski 3 hours ago | parent | prev | next [-] | | What if adding features wasn't the scope and just providing a fast and memory efficient runtime that doesn't pretend to be everything at once. | |
| ▲ | andsoitis 3 hours ago | parent | prev [-] | | > Bun users who don't care about slop will continue to use Bun What slop does Bun create or cause? | | |
|
|
| ▲ | k3vinw 2 hours ago | parent | prev | next [-] |
| Should have called it Bunz! |
|
| ▲ | jhack an hour ago | parent | prev | next [-] |
| > Bun is the quintessential AI slop project at this point. To call the Bun rewrite "quintessential slop" is all I need to know to not take this person or their project seriously. |
|
| ▲ | mahdigmk 2 hours ago | parent | prev | next [-] |
| We are soooo back |
|
| ▲ | mintflow 3 hours ago | parent | prev | next [-] |
| saw another project based on pre-rust bun and this is another one
never use bun and sometimes this make me wonder, are we enter a phase the supply way > requirement or people just build stuffs and not care serious usage anymore? As a software engineer these days, I can't say i do not use Agent to help work done, but i am really a bit of tired to see so much solutions while not talk about what problem they are trying to really solve |
|
| ▲ | rednafi 2 hours ago | parent | prev [-] |
| Now that no one cares about JS frontend framework, we moved the drama over to JS tooling written in other languages. One reason I find deno nicer is that the node creator is solid isn't a slopperoo yapping about LLM induced quasi-productivity. |