Pnpm 12.0

(pnpm.io)

65 points | by jcbhmr 2 hours ago

12 comments

  • BlueGreenMagick 1 hour ago
    > It is a rewrite of pnpm in Rust

    Their benchmarks[0] report that a clean install with lockfile is about 3x times faster (7s -> 2.2s) and a no-op install is about 29x times faster (517ms -> 18ms)

    [0]: https://pnpm.io/benchmarks

  • fwlr 49 minutes ago
    Had to check the calendar to be sure it wasn’t somehow April 1st. No, it’s August. Huh.

    I don’t see how it’s possible that the pnpm maintainers are unaware of the bun AI-rewrite-to-rust saga… so I’m baffled, befuddled, and overall at a loss to make sense of this decision.

  • deanc 26 minutes ago
    I'm curious, as it's not mentioned, are there any performance improvements as part of this rewrite?
  • 1matin 55 minutes ago
    Whenever you see a lot of long dashes (—) in a writing, there's a high chance Claude has written it.
    • apt-apt-apt-apt 10 minutes ago
      Perhaps – but it's a useful grammatical construct in everyday use, handy for structuring sentences.

      And with the prevalence of AI, it rubs off on the smelly humans, who also find it useful and use it more as a result. (I used an en dash here instead of an em one – also valid, easier to type, and shorter).

    • veidr 26 minutes ago
      This heuristic is commonly believed — and expressed on this website — but is idiotic. Plenty of people have known how to use em dashes when writing on a computer since the 1980s. (This was true even before UTF-8 was invented to make extended characters work across platforms; instead of ⌘⇧-hyphen, we'd just type "--" to approximate it.)

      The reason LLMs tend to use a lot of em dashes is that the human-authored texts they were trained on used a lot of em dashes.

      • smt88 21 minutes ago
        This is untrue and a naive understanding of modern model training.

        Opus 5 does not speak like a normal, average, or common English user. For example, it says “stated plainly” or “worth stating plainly” (two very uncommon English phrases) every two or three responses.

    • sevg 32 minutes ago
      In this case, the emdashes are just tip of the iceberg. The writing is so Claude that it’s painful to read (and in fact I stopped reading to save my mental health).
  • norman784 43 minutes ago
    I got to the conclusion that boring is good enough, for me NPM is the best tool, is not that fast, but the installation speed is not that bad, considering how many times I need to run from scratch, the difference does not matter, it is stable and it's the default Node package manager, so I don't need to bother to install in CI any other tool, etc. My experience for long living projects is to stick with the defaults, because in a few years third party tools will change, it happen to my team with Yarn classic, now that we are with vanilla Node and NPM no worries, same with 3rd party dependencies, just use as less as possible.
    • CraigJPerry 11 minutes ago
      Describing NPM as boring is a stretch. Given its security model, i think spicy is a far more apt label.

      I have switched to pnpm already.

    • Chyzwar 39 minutes ago
      Unless you care about security, stability, DX, speed and correctness then npm is fine choice.
    • taspeotis 41 minutes ago
      I have the same experience - npm was bad, now it is fast enough.
  • ledoncool 1 hour ago
    Hooray!
  • knlam 41 minutes ago
    just why pnpm? you are stable, you are loved by the community. Now you feel the need to throw it away to rewrite for what? Can anybody give me a good explaination
    • cpursley 6 minutes ago
      Check the benchmarks, hopefully even more JS slop is converted to Rust for the sake of humanity.
  • IanCal 18 minutes ago
    I’m going to write a filter to remove comments that are just bitching about whether something is AI written or not. Seeing “slop” now starts to give me m$ vibes
  • mmmeff 1 hour ago
    Am I the only one that hates the decision to no longer support corepack?
    • mirekrusin 1 hour ago
      pnpm 12 supports corepack (or better phrased - corepack supports pnpm 12).

      they just don't recommend it.

      nodejs stopped bundling corepack since node 25, maybe you're referring to that?

    • winterqt 1 hour ago
      Is "pnpm installs the other package managers" what you're talking about, or something else? That doesn't quite read like removing corepack support to me, though I might be missing something obvious.
    • catlifeonmars 1 hour ago
      Same here. Corepack was fine and there is already too much churn
    • joshuat 1 hour ago
      First I'm hearing of it, and it does dampen my enthusiasm for v12 a bit.
  • magnio 1 hour ago
    The more I read these ass Claude Opus writings the more I believe AGI is further away from us.
    • zarzavat 40 minutes ago
      I thought 'how bad can it be?', yet only three paragraphs in "a specifier now names a repository rather than choosing a transport"

      If you're going to serve us slop then at least serve us good slop, give it a pass through GPT 5.6 to clean up the English.

      • serbuvlad 21 minutes ago
        I remember the most interesting things to do with 3.5 Turbo was to ask it to rewrite paragraphs in different styles.

        Why can modern LLMs basically not do that anymore? They each have their own very particular writing style?

        It it all just beaten out of them in post training?

      • IanCal 19 minutes ago
        What’s the problem with that? Seems to make sense to me with the example and it’s important to point out. I’d expect an llm to explain in more detail to be honest.
        • zarzavat 0 minutes ago
          If you spend all day talking to Claude then its mannerisms begin to grate on you like fingernails on a chalkboard.

          There's nothing wrong with the English per se, it's grammatically correct, it just sounds so "Claude". Claude talks using pithy word soups that lack the niceties and structure of human writing.

        • anon7000 13 minutes ago
          It doesn’t quite make sense at face value by itself. It’s too condensed and takes some effort to parse out what it’s actually getting at. It’s not communicating why the change was made. It’s just a shiny way of saying the words without actually helping me easily understand what’s happening, what’s changing, why, etc.

          In plain English, maybe it’d be more like “Package specifiers for git repositories should no longer include the HTTPS/SSH protocol. Instead, reference the repository name, and pnpm will resolve it through HTTPS. If SSH is still needed, add an override in your global git settings”

          • netniuq 10 minutes ago
            yes! and this is sooo weird given that Opus 4.8 or 5 producing this are supposed to be "smart" models – how far into the benchmaxxing do you have to lean to get to this point?
      • deanc 31 minutes ago
        Maybe the author is a non-native English speaker, and this enables him to communicate things he's not able to do himself. Should OSS maintainers start hiring professional translators? Are you going to fund that?

        We really should stop jumping to conclusions and shaming people for using these tools just because you don't like the language of the LLM. How is a non native speaker meant to determine what is English slop and what isn't?

        I should also note, I am a native speaker. There's absolutely nothing wrong with what's written in the part you chose to paraphrase, and it makes sense to me.

        • flohofwoe 8 minutes ago
          A non-native speaker most likely writes more 'understandable' English than the weird convoluted Claude style.

          FWIW though, you can ask an LLM to write in 'Simplified Technical English' (see: https://www.asd-ste100.org/), which at times reads like its written for a child, but it is much better for inclusion of non-native speakers.

        • fredrikholm 23 minutes ago
          This is a recent degradation; they've been writing blog entries for years.

          As a non native English speaker I can also attest to this trade being extremely demanding of English fluency:

          > public static void DoTheThing(Configuration config)

          Isn't something you can not understand and still function as a software engineer. Yes, some schools and universities teach in other languages, but the entire ecosystem from code to documentation to articles is nearly almost always in English.

          • deanc 20 minutes ago
            It doesn't matter. I work with people who aren't native speakers (in a country where English-education is a very high standard) but are mostly fluent in day to day conversation and meetings and they are not comfortable writing long-form texts - and it shows. Your expectations are unrealistic.
            • sevg 6 minutes ago
              > Your expectations are unrealistic.

              No they are not.

              Claude isn’t the only option for such a person, as translation tools exist, and English-speaking colleagues exist to proof-read.

              In any case, the article author writes perfectly well in English pre LLM era: https://www.kochan.io/nodejs/it-is-ok-to-keep-random-things-...

        • raincole 16 minutes ago
          > Should OSS maintainers start hiring professional translators?

          The world existed before 2022.

        • veidr 23 minutes ago
          Ditto. I've started to wonder if the real problem with many of these complaints about LLM writing is actually reading comprehension.
  • winterqt 1 hour ago
    Good to see the maintainers don't care enough to take the time to write a release blogpost themselves. sigh
    • paavohtl 1 hour ago
      I was also bothered by this. I don't care if you use LLMs to write most or all of your code, but at least have the courtesy of actually writing your blog posts & readmes, to demonstrate that you at least understand what the LLM generated for you.
    • techpression 55 minutes ago
      Hey Claude, write in the worst possible claudism way you possibly can, and make it sound like every other text on the internet that is published nowadays.

      "This post covers what pnpm 12 adds that pnpm 11 never shipped."

  • xiaoyu2006 1 hour ago
    Time to hop off I guess. They don't even bother to write changlog on their own.
    • jdkoeck 1 hour ago
      Same here, what if the internals get the same absence of care? No thank you.