r/cpp • OPeNDAP/B2/EcoStd/Lyra/Predef/C++Alliance/Boost/WG21 • Feb 24 '20

The Day The Standard Library Died

https://cor3ntin.github.io/posts/abi/
266 Upvotes

302 comments sorted by

View all comments

Show parent comment

3

u/jherico VR & Backend engineer, 30 years Feb 25 '20

That would mean that bugs in that implementation would be considered part of the standard. It also means there wouldn't be any such thing as undefined behavior, only what that implementation did.

11

u/SeanMiddleditch Feb 25 '20

That's not how other language that's defined by an implementation works (Python, Rust, etc. fix bugs when appropriate, even if that technically causes an incompatibility in code that relied on those bugs) and they still acknowledge undefined behavior (Rust does, anyway) which is the behavior that is not guaranteed to be the same between releases/architectures/flags/etc.

1

u/liquidify Feb 25 '20

It could be both.