• Solemarc@lemmy.world
      link
      fedilink
      arrow-up
      29
      ·
      1 year ago

      you probably don’t need to learn it, Deno was a massive upgrade over Node and it didn’t matter, not convinced this will be any different.

      • nonearther@lemmy.ml
        link
        fedilink
        English
        arrow-up
        14
        ·
        1 year ago

        IMO, deno’s approach was bad as it was reinventing the wheel, so one had to relearn. And then they brought package.json which they said they wouldn’t. This again got people to unlearn and relearn things.

        Bun, on the other hand, acts like what Typescript is to Javascript. It’s just feels like superset of Node, instead of completely different tool.

        I expect Bun will get more success than Deno.

        • snowe@programming.dev
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          Makes sense. Deno was created by the same person that created node. They’re both going to be terrible, especially when they ignore everything ever discovered in software engineering about writing good code, good frameworks, good languages, etc.

              • sip@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                sorry, brainfart. I read “bun is created as the same who created node” 🤦🏻‍♂️

                • snowe@programming.dev
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  gotcha. I don’t think bun is created by the same person that created node. deno is, and has just as bad a design as node as a result. it honestly baffling that people trust someone to write a language who failed so badly to write a language that they set back the entire world for decades to come.

    • starman@programming.devOP
      link
      fedilink
      English
      arrow-up
      28
      ·
      edit-2
      1 year ago

      It’s almost 100% compatible with node but faster. A lot faster. So no need to learn anything but few cli commands. For example bun run dev instead of npm run dev.

      Edit: website

  • fosforus@sopuli.xyz
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    1 year ago

    This will generate lots of fun moments when developers use Bun and the runtime environment is stuck at Node for some reason. For instance, because of AWS Lambda.

  • HairHeel@programming.dev
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    My favorite pastime is arguing about which JavaScript runtime is faster while I wait for my app to finish running O(n^n) table scans of my database.

    • dmrzl@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Can you provide some context? Googled oven/Jarred Sumner a bit but only got the usual startup VC trash communication and lackluster interviews…

      • body_by_make@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        1 year ago

        They deleted their tweet (or I can’t find it because I refuse to sign into Twitter on my phone) but when oven first started hiring they were extremely condescending towards the idea of work life balance. It’s a startup perpetuating the idea that startup employees need to cut themselves off from their lives and focus on work for minimal benefits - you know, until it “takes off”.

        It caused quite a stir when it was posted, I’m surprised it’s so forgotten now.

      • body_by_make@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        Deno is still around and is even actively used, you have to use it if you want to write a Supabase edge function, for example. But it’s not used in mainstream development from what I can tell, it just never took off because it’s a very large idea shift from Node that requires a decent sized learning curve to figure out. The benefits are also not enough that it’s worth re-learning how to write server-side JavaScript. If you wanna right server-side JavaScript, Node is good enough that it’s not worth re-learning.

        Still though, Deno is fairly obscure from a mainstream development perspective, and that’s what I wish on Bun.