Live data from Hacker News

CompileBench: Can AI Compile 22-year-old Code?

quesma.com

1–10 of 69 posts

Re: CompileBench: Can AI Compile 22-year-old Code?

#3
Author here.

So far in this benchmark we based the tasks on a couple of open-source projects (like curl, jq, GNU Coreutils).

Even on those "simple" projects we managed to make the tasks difficult - Claude Opus 4.1 was the only one to correctly cross-compile curl for arm64 (+ make it statically-linked) [1].

In the future we'd like to test it with projects like FFmpeg or chromium - those should be much more difficult.

[1] https://www.compilebench.com/curl-ssl-arm64-static/

Re: CompileBench: Can AI Compile 22-year-old Code?

#5
LGTM! I'm sure it comes with a correctness proof, too!

The newer blog posts appear to scan forums like this one for objections ("AI" does not work for legacy code bases) and then create custom "benchmarks" for their sales people to point to if they encounter these objections.

Re: CompileBench: Can AI Compile 22-year-old Code?

#6
> Our toughest challenges include cross-compiling to Windows or ARM64 and resurrecting 22-year-old source code from 2003 on modern systems. Some agents needed 135 commands and 15 minutes just to produce a single working binary.

I found that "just" there to be so funny in terms of how far the goal posts moved over these last few years (as TFA does mention). I personally am certain that it would have taken me significantly longer than that to do it myself.

Re: CompileBench: Can AI Compile 22-year-old Code?

#10
post #2

Curious for the ultimate benchmark - can AI compile Doom an on arbitrary device?

that, & how well does it cope with Perl?

Claude is good enough at Perl with lots of hand-holding and reiterations, according to my experiences.
Post reply on HN