|
|
|
|
|
by UebVar
525 days ago
|
|
Somewhat separating owning and non owning memory in the type system goes a long way. Also a much better standard library and a stricter typing discipline. The fact that it's mostly backwards compatible means you can reproduce almost all issues of c in c++ awell, but the average case fares much better. Real world C++ does not have double-frees, for example. (As real world C++ does not have free() calls). |
|