zlacker

[parent] [thread] 8 comments
1. voidUp+(OP)[view] [source] 2026-01-06 14:59:56
Out of interest, how did you arrive at the 20-50x speedup numbers?
replies(2): >>lifeti+21 >>EGreg+Ei
2. lifeti+21[view] [source] 2026-01-06 15:04:24
>>voidUp+(OP)
vibes, obviously
3. EGreg+Ei[view] [source] 2026-01-06 16:15:07
>>voidUp+(OP)
Cherrypicking the most tedious parts, like boilerplate to get up and running, or porting code to other adapters (making mysqlite and postgres adapters for instance)

This was done in about 3 hours for instance: https://github.com/Qbix/Platform/tree/refactor/DbQuery/platf...

You can see the speed for yourself. Here is my first speedrun livestreamed: https://www.youtube.com/watch?v=Yg6UFyIPYNY

replies(3): >>stefan+VB1 >>jonono+bF1 >>voidUp+9Q2
◧◩
4. stefan+VB1[view] [source] [discussion] 2026-01-06 21:43:41
>>EGreg+Ei
That code has a lot of smell IMHO :/

What's the rationale behind writing PHP as if it was JS? Unless I am mistaken it's like someone just did a transliteration from JS to PHP without even converting the JSDoc to PHPDoc.

And are there any tests for the code?

replies(1): >>EGreg+az3
◧◩
5. jonono+bF1[view] [source] [discussion] 2026-01-06 22:02:18
>>EGreg+Ei
Why not merged to main? What is the definition of done being applied here?
replies(1): >>EGreg+ez3
◧◩
6. voidUp+9Q2[view] [source] [discussion] 2026-01-07 08:37:12
>>EGreg+Ei
So your actual output has not increased by 20-50x, just some parts of it? What's your speedup like over an entire project, not just cherrypicked parts?
replies(1): >>EGreg+Xy3
◧◩◪
7. EGreg+Xy3[view] [source] [discussion] 2026-01-07 14:34:00
>>voidUp+9Q2
I think those parts were the big bottleneck, so technically, yes it has.
◧◩◪
8. EGreg+az3[view] [source] [discussion] 2026-01-07 14:34:58
>>stefan+VB1
I actually based it on an existing PHP adapter for MySQL. Together with the AI, I went over all the features that needed refactoring, and what would work in Postgres and Sqlite the same way, etc. There were a ton of nuances.
◧◩◪
9. EGreg+ez3[view] [source] [discussion] 2026-01-07 14:35:38
>>jonono+bF1
The code is stable and partially tested. Needs a lot more testing before committing it to main. This is mainly because the primary ORM adapter for MySQL has been rewritten, and a lot of apps use it.

I think in 2026 the automation will reach the testing, closing the loop. At that point, no humans in the loop will make software development extremely fast.

[go to top]