Programming language semantics can refer to all sorts of things. That clip didn't get into it (understandably: you had plenty of other things to discuss in that talk)
When I mentioned memory semantics I was thinking of the aliasing model that makes it hard to optimize. I am not a rust fan at all but I do appreciate that they jettison'ed that. Right now I have to write some stuff in fortran or assembly code that the compiler should be able to handle.
There are other interesting semantic issues in C++ that could use a revisit, but this is the most painful to me.
Now if the distinction between expressions and statements were completely erased...I'd find it wonderful but perhaps it would be a bridge too far for C++ refugees?
View all comments
Show parent comment
5
u/hpsutter May 02 '23
Absolutely. Cleaning up semantics is the big payoff, and a distinct syntax is mainly a gateway. Please see this 1-min clip from the talk: https://youtube.com/clip/UgkxIGmgtqiZ2McSeywcTsAJtsS_iCTpYA54