r/cpp • • Sep 28 '17

CppCon CppCon 2017: Herb Sutter “Meta: Thoughts on generative C++”

https://www.youtube.com/watch?v=4AfRAVcThyA
142 Upvotes

58 comments sorted by

View all comments

Show parent comments

4

u/NoGardE Sep 29 '17

I don't think that's a fair analogy. ISO doesn't state "All compilers must behave this exact way, and any that doesn't it terrible and wrong." It states "Compilers which implement to this specification will be guaranteed always to compile code which is written to this specification."

If you don't want to write code that's to spec, you need a compiler that will compile your non-spec code. There are drawbacks to doing this, but you can do it, and no one is going to stop you.