On 8/28/18 8:40 AM, degski via Boost wrote:
On Tue, 28 Aug 2018 at 17:54, Robert Ramey via Boost
wrote: ... upgrading working code from C++03 to C++11 isn't going to add any benefit, so there it's more attractive to spend one's efforts somewhere else.
You don't think that move semantics have had a significant impact on C++ then? Maybe it has not affected BS, and you seem to say there are no benefits to be had from move semantics in BS. Is that really really true?
degski
Actually, I think the the impact of move semantics on performance of well written existing code is minimal. On new code which uses more types as values it's helpful. Of course if the library were written today, it would all the new stuff. I don't think it would be faster (unless it were made header only) but it would likely have have half the number of lines of code (or less). But the years long slog to address corner cases, workarounds for compiler bugs and standard library bugs, etc. And there would be design changes which would also create a bunch of ripple effects. So it would really end up as a whole re-write. Robert Ramey