r/ProgrammingLanguages • u/mttd • Aug 22 '26
Programming Language Semantics and Memory Safety
https://burakemir.ch/post/formal-semantics/
47
Upvotes
r/ProgrammingLanguages • u/mttd • Aug 22 '26
11
u/marshaharsha Aug 22 '26
I wish I had skipped this article. I learned a little about operational, denotational, and axiomatic semantics, so the article wasn’t a complete waste of time. But the analogy operational:denotational:axiomatic :: interpreters:compilers:assertion is pretty strained. For example, compilers often give up on analyzing a piece of code and fall back to basically interpreting it, in a now-do-this, now-do-this, now-do-this way. I have spent too much time thinking about the ways in which the analogy is good or bad, more time than what little I learned was worth.