r/computerscience • • May 18 '25

A computer scientist's perspective on vibe coding:

Post image
3.6k Upvotes

261 comments sorted by

View all comments

Show parent comment

2

u/clickrush May 20 '25

While I agree, there’s a foundational exception to this rule, simply because a compiler can only ever reduce the expressiveness in relation to assembly.

That means there are (often minute) things you cannot express in a higher level language, but you can in assembly. Performance is one reason why you might need to, but there are also APIs that require specific instructions.

There’s a reason why inline assembly is a core feature even in modern systems languages.

And that’s ignoring that compilers don’t write themselves. There are many more compilers today than in the 70‘s and they tend to be far more complex. Instruction sets evolve and are modular, different chips require different treatment. New languages came into play. New types of optimizations.

Then, up a layer, you have a lot of programming that needs to be done that doesn’t require you to write assembly but to read and understand it. You then nudge your program in a higher level language to produce it. That’s why I said „deal with“ and not „write“.

The proportion of programmers dealing with assembly certainly shrinked. But that’s because there are orders of magnitude more programmers today than ever before.

High level programming didn’t replace assembly almost by definition, but it opened up new ways and opportunities to program.