C++’s legacy is C. One hard aspect is how file-based its build model is. It tried to change with modules, but arguably isn’t there.

But now, C++ is considering how to fix many issues including security and will introduce an enterprise ready solution:
- pro files
- semipro files
- free tier files