• TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    Which part of the statement is wrong? Bun is a TypeScript (and JavaScript) runtime and can execute TypeScript directly. Node.js can also execute TypeScript directly on relatively newish versions.

    Sure, internally they execute JavaScript, but the statement as-is isn’t incorrect, unless you’re saying that Bun is slower.

    • BB_C@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      7 days ago

      can execute TypeScript directly.

      Did the word “directly” get the same fate the word “literally” got? As in, it completely lost its real meaning?

      Bundling a compiler/transpiler and directing inotify at a source directory (for glorious hot-reloading) doesn’t a language “runtime” make. Otherwise, I can create “runtimes” for any language in three lines of code right now.

      unless you’re saying that Bun is slower.

      Are you saying JavaScriptCore is faster than V8? Or is the majority of time in webshittery operations not spent on actually running code, and that’s how bun “wins” ?

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 days ago

        Are you saying JavaScriptCore is faster than V8?

        No. Are you saying it isn’t? Please cite your source if so.

        Bundling a compiler/transpiler and directing inotify at a source directory (for glorious hot-reloading) doesn’t a language “runtime” make. Otherwise, I can create “runtimes” for any language in three lines of code right now.

        My bad, they’re x86/ARM64 runtimes.

        • BB_C@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          You could have searched for some benchmarks yourself, instead of thinking you’re winning an argument in such a stupid manner.

          Note that Jarred himself (bun creator) wouldn’t push against this either. Instead, he will sell you the aggregate performance talking point (as another user did), which is why I made my deliberately facetious comment about webshittery.

          • TehPers@beehaw.org
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 days ago

            You could have searched for some benchmarks yourself, instead of thinking you’re winning an argument in such a stupid manner.

            Why would I do that? I made no claims to its speed. You’re the one making claims, so the burden of proof lies with you.

            Note that Jarred himself (bun creator) wouldn’t push against this either. Instead, he will sell you the aggregate performance talking point (as another user did), which is why I made my deliberately facetious comment about webshittery.

            I don’t really care what Jarred says though. He hasn’t exactly left a good impression with the direction he’s taken Bun.