Pnpm 12.0

84 points
1/21/1970
15 hours ago
by jcbhmr

Comments


BlueGreenMagick

> 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

14 hours ago

1matin

Whenever you see a lot of long dashes (—) in a writing, there's a high chance Claude has written it.

13 hours ago

apt-apt-apt-apt

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).

12 hours ago

shikck200

Nah. I NEVER say the dash pre-AI, at least in commoners writings. Maybe in some books etc. The dash you read today is 99.9% AI generated.

9 hours ago

arw0n

I've used it extensively in English due to learning the language through a lot of older books - but I've never bothered to actually pull out the emdash, I would hope people can see that I'm not trying to subtract one sentence from the other.

6 hours ago

ofrzeta

Where do you think the LLMs got the emdash from? When I worked as a magazine editor we took good care to discern ndash and emdash in printing. In Germany it is a Bindestrich (which links words, hence "bind") and Gedankenstrich (this is where you have a pause in thinking and continue the sentence afterwards).

6 hours ago

surgical_fire

On the rare occasions I used Word to write things in the past, it would replace dashes with em-dash.

I normally use dashes when writing, never bothered myself with writing an em-dash properly otherwise.

8 hours ago

veidr

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.

13 hours ago

tgv

> Plenty of people have known how to use em dashes

Plenty? I don't think it's that many. And knowing how to use them, doesn't mean they would actually use them. In my experience, em dashes are mainly found in academic literature. Chances that an em dash in a new text comes from an LLM are pretty high.

Your use of it is dubious, I think. Commas would serve equally well --or better-- since it's a simple conjunction, not an interjection.

12 hours ago

dkdbejwi383

Markdown is ubiquitous in the kinds of places Hacker News visitors also tend to visit, like GitHub, various ticketing and project management systems like Jira, note takers like Obsidian and Notion (or an approximation of Markdown).

I've used `--` for years in place of an em-dash, which markdown renders as an actual em-dash.

12 hours ago

_leom

The text also includes en-dashes, I struggle to believe that someone actually manually typed those.

11 hours ago

smt88

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.

13 hours ago

sevg

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).

13 hours ago

deanc

I'm curious, as it's not mentioned, are there any performance improvements as part of this rewrite?

13 hours ago

__s

9 hours ago

norman784

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.

13 hours ago

Chyzwar

Unless you care about security, stability, DX, speed and correctness then npm is fine choice.

13 hours ago

CraigJPerry

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.

12 hours ago

catlifeonmars

Npm likes to run package lifecycle scripts of your dependencies by default. You have to explicitly opt out of this.

It’s probably the worst package manager out of npm, pnpm, yarn, and bun.

6 hours ago

taspeotis

I have the same experience - npm was bad, now it is fast enough.

13 hours ago

brazukadev

yeah the problem is npm is now Microsoft, just like Github. I trust Node. I don't trust NPM.

4 hours ago

xiaoyu2006

Time to hop off I guess. They don't even bother to write changlog on their own.

13 hours ago

jdkoeck

Same here, what if the internals get the same absence of care? No thank you.

13 hours ago

ledoncool

Hooray!

14 hours ago

winterqt

Good to see the maintainers don't care enough to take the time to write a release blogpost themselves. sigh

14 hours ago

paavohtl

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.

14 hours ago

techpression

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."

13 hours ago

mmmeff

Am I the only one that hates the decision to no longer support corepack?

14 hours ago

mirekrusin

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?

14 hours ago

winterqt

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.

14 hours ago

fatata123

[dead]

9 hours ago

catlifeonmars

Same here. Corepack was fine and there is already too much churn

14 hours ago

Chyzwar

It is node.js core that decided to drop corepack, now both yarn and pnpm are build own version of that.

6 hours ago

joshuat

First I'm hearing of it, and it does dampen my enthusiasm for v12 a bit.

14 hours ago

magnio

The more I read these ass Claude Opus writings the more I believe AGI is further away from us.

14 hours ago

zarzavat

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.

13 hours ago

serbuvlad

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?

13 hours ago

zarzavat

The objective of RL changed circa 2024.

The 3.5-4o era models were trained by RLHF primarily to write in a way that's pleasing to humans.

Starting with o1 the focus switched to reasoning, coding and benchmarks. If you remember when GPT-5 came out it introduced a new "colder" writing style (which was partly intentional) which made a certain subsection of Reddit Very Upset that Sam Altman had killed their AI boyfriends and they forced him to reinstate the warmer 4o.

The artificial default voice of modern models is optimized for reasoning efficiency rather than understandability. Unfortunately the artificialness has a tendency to leak out into the output tokens because reasoning tokens and output tokens are all still just tokens. You can prompt recent models to write in a more understandable style and they do a fairly good job of it, but it's not the default anymore, which means you will have to keep re-prompting it.

I don't think it's an unfixable problem, Anthropic in particular are just not very motivated to fix it because Claude is much less popular for chat than ChatGPT is.

11 hours ago

serbuvlad

You can certainly nudge it directionally, but it has its own style. And verbal tics etc.

So it simply cannot keep documentation or a codebase in the same style, and it cannot write <information> in <style>.

With 3.5 Turbo I used to give it bulleted information and paragraphs of what I wanted it to sound like and it'd replicate that style, then I'd edit the factual details it got wrong.

Now the situation has completely reversed! It can extract the data itself, but I have to write the stuff by hand. Humorously, it will do bulletpoints for me, and I write the thing.

7 hours ago

IanCal

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.

13 hours ago

anon7000

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”

12 hours ago

netniuq

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?

12 hours ago

zarzavat

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.

12 hours ago

fatata123

[dead]

9 hours ago

deanc

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.

13 hours ago

flohofwoe

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.

12 hours ago

raincole

> Should OSS maintainers start hiring professional translators?

The world existed before 2022.

13 hours ago

janylim9

[flagged]

12 hours ago

fredrikholm

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.

13 hours ago

deanc

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.

13 hours ago

sevg

> 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-...

12 hours ago

veidr

Ditto. I've started to wonder if the real problem with many of these complaints about LLM writing is actually reading comprehension.

13 hours ago

IanCal

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

13 hours ago

brazukadev

> Short-term AI/GPT/LLM consulting services to help you strategize, discuss, and navigate the rapidly evolving world of artificial intelligence.

4 hours ago

JodieBenitez

Or downvote and then remove.

12 hours ago

knlam

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

13 hours ago

cpursley

Check the benchmarks, hopefully even more JS slop is converted to Rust for the sake of humanity.

12 hours ago

fwlr

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.

13 hours ago

johnnypangs

To be fair to the pnpm maintainers, they have been working on this well before the bun AI rewrite. The first commit in their rust experiment is in 2021.

https://github.com/pnpm/pn/commits/main/?after=e24c0b293f1f4...

13 hours ago

GrayShade

https://bun.com/blog/bun-v1.4 has some pretty nice numbers indeed.

13 hours ago

codeflo

> unaware of the bun AI-rewrite-to-rust saga

I seem to be mostly unaware, at least, it's not self-explanatory to me why a Rust rewrite would be that baffling. What's the verdict on the Bun rewrite, and how does that relate to pnpm's decision? Also, wasn't Bun switching from Zig to Rust instead of from TypeScript to Rust like pnpm? I get the impression that many web infrastructure projects have been switching to more native languages.

12 hours ago

fwlr

I expect the pnpm maintainers to be familiar with it because bun is one of the other three or four major JavaScript package managers. To put it another way, if you gathered up the 100 people in the world working on the most similar problems to pnpm’s own work, like 15 or 20 of them would be working on bun.

I believe the objective verdict on the rewrite is “actually, everything went better than expected”, but it was and seemingly still is quite controversial and engendered a fair bit of bad blood, which I would have thought would be undesirable or demotivating to maintainers.

11 hours ago

raincole

Bun rewrite seems like a big success story.

12 hours ago