3 ms·
He advises to use more copy by value, fine, but C++ is not the right language to do that. It is even by far the worst language to that. Better functional langu
by rurban 8y ago
He advises to use more copy by value, fine, but C++ is not the right language to do that. It is even by far the worst language to that.
Better functional languages do have the optimizations needed to work in such a style, such as a generational GC, safe stack allocation, an optimizing compiler (for that problem, not C++ problems) and a proper type system. Good functional languages outperform C++ with OpenMP in performance, readability, maintainability and safety. And they explicitly disallow all the problems which do come with C++.