• Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    for anyone like me who could not understand that stupid title

    “Call a spade a spade” is a figurative expression. It refers to calling something “as it is”[1]—that is, by its right or proper name, without “beating about the bush”, but rather speaking truthfully, frankly, and directly about a topic;

    “Blow smoke” - to speak idly, misleadingly, or boastfully

  • MoonMelon@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    The whole “AI is enough” marketing that the author mentions in the conclusion is total poison. A buddy of mine works at one of the companies involved in this circlejerk and they have the same mandate. Cost is not an issue. Use it for everything.

    He said he has to roll the dice all day to get good output from the AI. Its more important they USE THE AI than it is that they PRODUCE GOOD CODE. In fact “good code” is not a thing, in the traditional sense. “Good code” means AI created. His actual title ostensibly has nothing to do with AI, they are producing a totally different thing. But since he works at a company that is benefiting massively from AI investment, his bosses are mandating a worse form of developing because they are now in the business of selling AI rather than what presumably is the product.

    It’s like if you were a plumber and your plumbing company merged with a huge factory that makes 90 degree pipe elbows. So they mandated that all plumbing now had to be done by joining together nothing but 90 degree pipe elbows rather than any other fitting. And since its all going to be sealed up inside a wall, who cares? How dare you question this? Are you saying there AREN’T legitimate uses for 90 degree pipe elbows?

    • exussum@lemmy.world
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      5 months ago

      We are at an infection point with software. Similar to AWS was about fifteen-twenty years ago, or git. If you ignore it, you’re behind the curve. Now’s the time to experiment, figure out the good and bad. Not all orgs are going face first. Some of us are learning along with it.

      Where it shines for me? Really small changes in a complex system. I can’t store all the context all the time. Business requirements, security ones, aesthetic ones. Where it shines is if you suss out small changes thoroughly, it’s a great text generating engine.

      All of that said, the side effects of data centers and pump and dump stocks, are absolutely horrid. Hopefully on the other side of it we come to something more sane.

      • draco_aeneus@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        From my experience, AI-assisted development is not good at complex systems. If a feature or fix requires a lot of changes in different places, or if the business logic is complex and difficult to understand, then the AI usually, in my experience at least, doesn’t do a good job with it. And because the system is large/complex, you have to have a correct understanding yourself of how the system works if you want to know if the AI changes will actually work as expected, and what edge cases it addresses and omits.

        • exussum@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          Absolutely. The great thing is you can ask ton of questions quickly to build your own knowledge quickly. It makes you faster not by doing the understanding for you. It can write tests to prove things pretty quickly. It can help find connections. Not fool proof ever, but it speeds up searches in your code base.

  • BB_C@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Bun is a TypeScript runtime, like a faster NodeJS.

    I guess the target audience is non-coding AI skeptics looking for pseudo-intellectual takes, which appears to be a growing market. Because getting the very first technical detail, and a very basic one at that, this wrong is not a good look.

    • TehPers@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months 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
        0
        arrow-down
        1
        ·
        5 months 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” ?

    • assaultpotato@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      https://bun.com/

      HTML title: Bun: A fast all-in-one JavaScript runtime

      Bun is designed as a drop-in replacement for Node.js

      https://bun.com/docs/runtime

      execute javascript/typescript files […] with Bun’s fast runtime.

      Am I missing something? How is that claim incorrect? I’ve never used Bun but their marketing material lines up exactly with the claim.

      • BB_C@programming.dev
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        edit-2
        5 months ago

        First of all. Strictly speaking, there is no such a thing as a TS runtime. TS compiles to JS.

        Second of all, bun binds against JavaScriptCore, which is the JS engine used in Safari. Node binds against V8, which is the engine used by Blink (Chromium et al). Both are implemented in C++. And the latter is considered the fastest engine.

        Ironically, both engines are mentioned by name in the very bun blog post being discussed, which points to a problem that is almost bigger than mere tech literacy from the pseudo-intellectual OP.

        • assaultpotato@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          Saying there’s no typescript runtime is (imo) a bit pedantic - if you JIT transpile TS down to JS at run time with hot-reloading you’re effectively a TS runtime. For a non-technical one-liner on Bun, I feel that is a very reasonable simplification to make.

          Perhaps bun would be even faster if they bound against another JS API, but that doesn’t mean that Bun isn’t faster than Node.js. They claim it’s 3x faster than Node in aggregate, and that can potentially be true even if they use slower machinery under the hood. Python is a slow language but a fast framework can outperform a poorly written C++ implementation.

          I’m not going to defend the article, I have no horse in that race, but until I see benchmarks that say Bun isn’t faster than Node in aggregate, I don’t think the claim can be called “wrong” on its face.

          E: that’s exactly what Bun does: “Bun supports TypeScript and JSX with no configuration. Bun transpiles every file on the fly with its native transpiler before running it.”

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Bun’s founder experimented with a massive agentic rewrite from Zig to unsafe Rust.
    That experiment was merged days later and is now the official version.

    Wait, they ai yolo from a memory safe language to an unsafe version of a different memory save language?