Performance improvements in libffi

20 points by atgreen 8 hours ago on lobsters | 3 comments

It's rare that I feel like LLM scent gradually increases throughout an article. I'm going to guess that the author started writing and just got tired at some point. Independent of the LLMness, it also has too much empty text and misses most of the interesting details. For example, it doesn't talk about how executing the plan avoids clobbering registers across different ABIs. It also doesn't seem to motivate why not simply jit, since the plan is already not portable.

The code is almost entirely Claude.

Felt the same way about the post. Went to the repo, saw all the work had the Claude co-authorship.

Felt the same way. In particular:

Most of those instructions aren’t moving argument bytes. They’re deciding where the bytes go. The x86-64 calling convention has genuine rules,

What is the function of the word 'genuine' here? Which ABI doesn't have genuine rules? You can't just vibe your arguments into registers