News for hackers. Stuff that matters.
Re:My AI-built PHP engine in Rust passes 17% of PHP-src test... by mgaunard on Saturday July 04, 2026 @09:07PM (#48790443)
Why is the AI only able to reach 17%?

Surely it can just keep iterating until it implements the full test suite?

Re:My AI-built PHP engine in Rust passes 17% of PHP-src test... by hoppp on Saturday July 04, 2026 @09:10PM (#48790452)
Money probably. This is a cash burn project.
Re:My AI-built PHP engine in Rust passes 17% of PHP-src test... by dzhiurgis on Sunday July 05, 2026 @02:02AM (#48791626)
I suspect it cost less than $100 using chinese models.
Re:My AI-built PHP engine in Rust passes 17% of PHP-src test... by ekinertac on Sunday July 05, 2026 @03:11AM (#48791949)
it's not that expensive actually. been working on this about a month with my 20x Max Claude subscription while I'm working on other projects as well.
Re:My AI-built PHP engine in Rust passes 17% of PHP-src test... by ekinertac on Sunday July 05, 2026 @03:27AM (#48792017)
its still iterating, 17% is just where the counter is today. three weeks ago it was at 10%, two weeks ago 13.8%. i didnt post this as a final result, i posted becuase wp-admin rendering surprised me.

but no, it cant reach 100%. around 55-60% of the suite tests C extensions, gd, curl, soap, intl, mysqli, ffi, sockets etc. passing those would mean writing all those extensions from scratch too (libcurl, ICU, an image library...) which is a completely different project. the realistic ceiling for a from scratch engine is around 40-45% and thats the number im climbing towards.

Re:My AI-built PHP engine in Rust passes 17% of PHP-src test... by mgaunard on Sunday July 05, 2026 @09:24AM (#48794155)
most of those are just bindings, trivial work.