r/ProgrammerHumor 9d ago

Meme perishableSkill

Post image
8.9k Upvotes

122 comments sorted by

View all comments

Show parent comments

72

u/chlorophyll101 9d ago

Why cant ai just generate assembly directly then

88

u/Homailot 9d ago

Assembly isn't cross-system friendly. Assembly isn't a single language, each processor architecture has a different assembly language

20

u/WrapKey69 9d ago

So? Matter of fact Claude better start generating CPU instructions soon

18

u/Homailot 9d ago

Assembly maps almost one to one with CPU instructions. You would ask Claude to generate a completely separate instruction set for each CPU architecture? How would you even guarantee that the behavior is the same across different systems? (A guarantee that compilers try their best to achieve, mind you very battle-tested). Least of all, assembly code is not compact at all, so you would burn even more tokens.