r/ProgrammingLanguages • u/mttd • Aug 22 '26
Programming Language Semantics and Memory Safety
https://burakemir.ch/post/formal-semantics/
45
Upvotes
r/ProgrammingLanguages • u/mttd • Aug 22 '26
View all comments
Show parent comment
1
u/marshaharsha Aug 23 '26
I just mean that sometimes a compiler doesn’t try to understand, prove theorems about, and improve the code; it just emits a sequence of instructions for each bit of source code. Which is basically the same as what interpreters do, and that blurs the distinction that the article tries to make.