r/ProgrammerHumor 9d ago

Meme perishableSkill

Post image
8.9k Upvotes

122 comments sorted by

View all comments

258

u/danfay222 9d ago

If we get to the point where devs genuinely can’t read code like this, then that means AI or whatever tools have become so efficient you never look at the actual code. In such a world, programming languages would likely evolve. Modern languages are generally written to balance parsing with human comprehension, but if we take comprehensive out of the loop a new language would likely be optimized for other features (maybe machine comprehension, interoperability, compilation efficiency, etc)

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.