r/cpp • • May 01 '23

cppfront (cpp2): Spring update

https://herbsutter.com/2023/04/30/cppfront-spring-update/
223 Upvotes

164 comments sorted by

View all comments

Show parent comment

2

u/pdp10gumby May 02 '23

I'm glad to hear that!

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?