Biggest WTF news I’ve read today. I’m not a web dev so this doesn’t affect me, but this is bizarre.

We get a closer first look at what’s around the corner for AI coding tools, and make Bun better for it

This incredibly popular tool is now going to merge with an AI company and shift gears to be turned into some forced AI hype machine. Yipee! Exactly what all the devs were hoping for! /s

  • spartanatreyu@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    4 hours ago

    Serious question for anyone who actually uses Bun:

    Why are you using Bun instead of Deno or Node?

    If you would have asked me 10 years ago, what were the biggest problems with JS as a whole, I would have stated:

    1. Poor type safety

    2. No standard library which leads people into dependency hell

    3. Poor security (installing a project should not even allow the possibility of key stealing or ransomware)

    4. No runtime ergonomic immutable data structures with fast equality checks (looked like it was going to be resolved with the Records and Tuples proposal, but it was withdrawn and discussions are continuing in the composites proposal)


    Today I consider point 1 mostly resolved and point 4 a problem for TC39 and engine implementers, and not resolvable by runtimes themselves.

    That leaves us with problems 2 and 3.

    I see Node having poor solutions for 2 and 3.

    I see Bun having poor solutions for 2 and 3.

    I see Deno having great solutions for 2 and 3.


    As far as I can tell, people have chosen Bun for either hype or speed reasons.

    Hype doesn’t seem like an important reason to choose Bun since it’s always fleeting and there’s enough investment in the industry to keep each runtime going for a long time.

    I do see speed being a moderate issue with JS, but that’s mainly due to:

    • dependency install times which should be a one time cost, and which can be reduced anyway by using a standard library

    • slow framework slop, which isn’t really a runtime issue.

    So I’m not sure speed fits as a reason for choosing Bun.

    I’m not sure what the other reasons are, but I’m genuinely curious.

    If you’re using Bun in projects today, why have you chosen bun?

  • Taevas@beehaw.org
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    5 hours ago

    Man, Bun’s great, I’ve been using it since 1.0.0 essentially so that REALLY sucks

    Like some of the other people commentating on this thread, I’ll look into using something else, but it’s really sad and frustrating that I need to switch things over and over again

  • paequ2@lemmy.today
    link
    fedilink
    English
    arrow-up
    34
    ·
    9 hours ago

    I started using Claude Code myself. I got kind of obsessed with it.

    Over the last several months, the GitHub username with the most merged PRs in Bun’s repo is now a Claude Code bot. We have it set up in our internal Discord and we mostly use it to help fix bugs. It opens PRs with tests that fail in the earlier system-installed version of Bun before the fix and pass in the fixed debug build of Bun. It responds to review comments. It does the whole thing.

    Seems like they’ve bought into the hype.

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    88
    ·
    11 hours ago

    Oh goddamn it. I just started doing projects in Bun and moving some of my older projects to it.

    Fuck fuck fuck fuckity fuck fuck.

      • Admiral Patrick@dubvee.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Yeah. I’m going to keep using it for now but definitely going back and un-reimplementing some things that I moved into the Bun API. Basically just gonna use it as a runtime in place of NodeJS.

        I just really liked being able to build and distribute a single binary executable :(

  • justOnePersistentKbinPlease@fedia.io
    link
    fedilink
    arrow-up
    42
    ·
    10 hours ago

    Not overly surprising.

    Google and Salesforce have been “developing” new features and products this way for at least the last 13 years?

    1. Find promising small business/startup
    2. Buy it with your war chest money
    3. Force them to integrate with your systems and live inside your walled garden.
      • atomicbocks@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        11
        ·
        5 hours ago

        Amazon.com acquired parent Quidsi, Inc. for $545 million on November 8, 2010. Prior to Amazon’s purchase, Amazon sold diapers at steep losses in order to undercut Diapers.com and drive down the purchase price of the company.

        No. Not if they really want to buy you.

        Source

        • justOnePersistentKbinPlease@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          55 minutes ago

          The whole Amazon diapers is insane.
          The burgeoning monopoly was being noticed as early as 2011. I know this because it is why the CEO of one chain here planned out and started offering grocery deliveries.

      • mrgoosmoos@lemmy.ca
        link
        fedilink
        English
        arrow-up
        15
        ·
        8 hours ago

        yes, so long as you don’t them putting pressure on your suppliers and helping your competitors, I guess

      • jonathan@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 hours ago

        It depends on how much of the company you gave away when you took on investment. If you no longer have the controlling share you can be overruled.

      • GissaMittJobb@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        8 hours ago

        Getting bought is often the whole point for a founder, since that’s one of a few ways for you to get a big payday.

        Getting bought only really happens if a majority of the shareholders agree to it, so you can reject it as much as you want.

  • rozodru@pie.andmc.ca
    link
    fedilink
    English
    arrow-up
    16
    ·
    8 hours ago

    yeah as a dev myself I saw this coming a few months back and stopped using Bun so this doesn’t surprise me. They got on the cursor hype train awhile back and that was enough for me.

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    15
    arrow-down
    4
    ·
    9 hours ago

    It’s not a bad outcome. Bun is cool but has $0 revenue and some hand-wavy thing about future paid cloud services. This way, larger companies will give them a more serious shot than they would a small startup.

    It still doesn’t have a revenue story, but it’s now strapped onto the side of one of the few AI companies with a decent chance of surviving the next AI Winter. And if Anthropic goes sideways, the Bun engineers can fork the code and keep going.