logoalt Hacker News

amelius • yesterday at 11:59 PM • 4 replies • view on HN

This comment makes me wonder: could an AI be used to make binaries leaner, and by what fraction?


Replies

lifthrasiir • today at 12:22 AM

Of course, and to the extent technically possible. Modern AIs can do pretty much anything as long as there is a clear objective function, and the binary size is absolutely one of them. The problem is just that it is not a commonly asked objective.

badsectoracula • today at 1:02 AM

Check out os8088, a Mac-like operating system for the original IBM PC that comes with a lot of apps for it. AFAICT everything is vibecoded using Claude, Codex, etc and pretty much all apps are very tiny (a few KB).

easterncalculus • today at 1:21 AM

You absolutely can! Just using cl.exe and not linking everything in Visual Studio will likely cut down your compile times and binary size.

italiansolider • today at 12:29 AM

[dead]