Hacker News new | ask | show | jobs
by edukite 29 days ago
There's other word for such code and it sounds similar. It's crappy. I was tempted to use Claude couple of days ago to help me with optimization and from 4Gb RAM and 21s it managed to squeeze 1Tb and 41s. When I asked to fixed it AI reduced it to 1Gb and 10s. It just removed most heavy business logic. So yeah. 3 days and this was only total waste of time and cash
1 comments

How do you know it’s crappy? Have you read the code?
Your comment is strange, he clearly did in this context - that's why he knew what went wrong?

Fwiw, I currently consider code generated by models below opus level borderline unusable. It really is horrendous there.

With opus, it's still not good - but it's a lot better then some of my colleagues write.

Well written code, carefully planned out and thought through is still only possible by either hand writing or holding the hand of the model so much that you may as well just write by have, as you'll be quicker.

However, the code opus produces is good enough... So I rarely take action anymore in private projects

In which world throwing business logic to "optimize memory usage" isn't crappy solution? Or making 1T from 4G? It didn't returned decent solution, contrary it was worst than terrible