HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ekinertac

153 karmajoined 14 anni fa

Submissions

My AI-built PHP engine in Rust passes 17% of PHP-src tests, renders WordPress

ekinertac.com
34 points·by ekinertac·7 giorni fa·65 comments

[untitled]

1 points·by ekinertac·9 giorni fa·0 comments

[untitled]

1 points·by ekinertac·mese scorso·0 comments

Show HN: VideoEvaluator, a Video Comparison Tool

videoevaluator.com
2 points·by ekinertac·4 mesi fa·0 comments

comments

ekinertac
·6 giorni fa·discuss
[flagged]
ekinertac
·6 giorni fa·discuss
thanks! the devlog in the repo has the longer war stories if you enjoy this kind of thing.
ekinertac
·6 giorni fa·discuss
[dead]
ekinertac
·6 giorni fa·discuss
thanks, mago is a cool project. probably not as a dep tho, the parser isnt where the time goes (the 55x gap is all in evaluation, thats what the bytecode vm is for) and our parser is deliberatly tuned to match php's exact parse error messages, which is itself worth tests in the corpus. but using it as a second oracle to cross check my parser against theirs is actually a neat idea, same trick as the phpt suite but at the syntax layer.
ekinertac
·6 giorni fa·discuss
well, thanks for the tips on how to run my own blog :) but the post already tells you this, the last paragraph literally says an LLM drafted it and i edited it. the whole project is an experiment in what a non rust/php guy plus AI can ship, so hiding the AI in the writing while disclosing it in every commit would be a weird place to draw the line.
ekinertac
·6 giorni fa·discuss
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.
ekinertac
·6 giorni fa·discuss
[dead]
ekinertac
·3 mesi fa·discuss
I have used a couple of laptops with touchscreens, and the experience was awful, even with the latest technology. If Apple gave us an iPhone or iPad-quality touchscreen on MacBooks, I am 100% sure the experience would be perfect.
ekinertac
·5 mesi fa·discuss
there are hardcoded elements in the repo like:

/Users/dvirdaniel/Desktop/zuckerman/.cursor/debug.log
ekinertac
·6 mesi fa·discuss
the real question isn't "should AI write readable code" but "where in the stack does human comprehension become necessary?" we already have layers where machine-optimized formats dominate (bytecode, machine code, optimized IR). the source layer stays readable because it's the interface where human judgment enters.

maybe AI should write better readable code than humans. more consistent naming, clearer structure, better comments. precisely because humans only "skim". optimize for skimmability and debuggability, not keystroke efficiency.
ekinertac
·7 mesi fa·discuss
i had to ask, do you have any paying customers?
ekinertac
·9 mesi fa·discuss
one small note, you should move quick start section in README to be seen earlier
ekinertac
·9 mesi fa·discuss
encountered this post in reddit maybe an hour ago. the comment sections are very different. i'm gonna stick with HN for sure.

good project though. using copier instead of cookiecutter is a good choice.