- Home
- More AI news
- This story
Portal 2 statically recompiled to native Mac and iPhone with Claude Code
A user built, with Opus 5.5 and Claude Code, a tool that translates the Linux Portal 2 binary into about 125,000 C functions and compiles them to native ARM64, with no emulator or Rosetta. It runs on an iPhone 15 Pro Max, and a direct D3D9-to-Metal path…
Why it matters
A striking example of coding agents handling large, low-level systems work.
What happened
1 min readA user built, with Opus 5.5 and Claude Code, a tool that translates the Linux Portal 2 binary into about 125,000 C functions and compiles them to native ARM64, with no emulator or Rosetta. It runs on an iPhone 15 Pro Max, and a direct D3D9-to-Metal path raised one scene from 81 to 122 fps on an M3 Pro. Codex was used as a reviewer.
Our analysis
Static recompilation is not new, but reaching a playable room in two days shows how much agents speed up this work. The claims come from a single Reddit post and are unverified. Legal questions around a commercial game remain, although no game files are in the repo.