logoalt Hacker News

SirMastertoday at 3:37 AM4 repliesview on HN

What happens if you keep asking AI to rewrite it to use less and less resources?


Replies

LPisGoodtoday at 4:13 AM

It’s actually pretty good at this if you have some very specific constraints and objective.

show 1 reply
Scoundrellertoday at 5:45 AM

tbh, it probably works. I'm vibe-coding a thing and just told it to figure out why it runs so slow: put in some optimizations. It ran some tests and stopped loading an entire-something at opening because there's no value to doing that.

apitoday at 5:59 AM

It does a pretty good job being put into a loop of "try to optimize for X" then "test and audit your code" then repeat.