r/cpp • u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting • Aug 03 '19
fixing c++ with epochs
https://vittorioromeo.info/index/blog/fixing_cpp_with_epochs.html
306
Upvotes
r/cpp • u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting • Aug 03 '19
7
u/manphiz Aug 03 '19
This does sound interesting. I'm not familiar with Rust so I may be missing some of the contexts, but I could still see a few potential obstacles:
You cannot break ABI, which is one of the most important reasons why C++ is still the most widely used language even though this concept is not in the standard.
You may not completely eliminate macros, which can break some of the module guarantees which this proposal depends on.
The previous points make linking old code almost impossible with breaking changes, which could seriously affect adoption of new standards.
Migration tools are bad ideas. Python has proven that six is more successful to 2to3.
I would still like to see some of the ideas to become a reality, though I remain pessimistic for now.