C++11 use in Chromium
21–30 of 35 posts
Re: C++11 use in Chromium
#22Is there a great guide to C++11 as a language? Typing "Learn C++11" into Google always results in information mixed with legacy C++
Re: C++11 use in Chromium
#23Stuff like this makes me really regret being a C++ developer. Companies and projects are adopting new features at a glacial pace and yet the programming world is still moving forward and it feels like despite the best efforts of the committee and the compiler teams C++ is doomed to continue being a 'legacy language' as companies either continue migrating to C# or sticking with C++98.
Re: C++11 use in Chromium
#24Is there a great guide to C++11 as a language? Typing "Learn C++11" into Google always results in information mixed with legacy C++
Re: C++11 use in Chromium
#25Visual Studio limiting progress as always..
Visual Studio 2014 is already much better. http://blogs.msdn.com/b/vcblog/archive/2014/08/21/c-11-14-fe... Last time I checked, outside most C++ compilers were still catching up with C++11. There are more C++ compilers out there than just clang and gcc. Even those aren't 100% compliant at library level, if I am not mistaken.
Re: C++11 use in Chromium
#26Earlier quoted context omitted.
The problem is you're demanding that the entire coding population of a large company "get the hang of it" or else be confused by their tools. That is a proposition with non-zero cost, so it needs to be weight against the derived benefit. And IMHO for move semantics, that benefit is pretty low. The overwhelming number of allocation bugs with C++ code are treated very well by RAII already. Move semantics tend to be bes…
> The problem is you're demanding that the entire coding population of a large company "get the hang of it" or else be confused by their tools. The fact of life in C++ is that you have to grasp a number of not-entirely-intuitive concepts before you can be effective with it. Rvalue references are not particularly hard compared to many of the others. Consider how much time newbies spend wrapping their head around point…
https://code.google.com/p/chromium/codesearch#search/&q=move...
We don't allow the standard version yet partly for the reason explained downthread: it requires stl support to be very useful and not all the platforms we target are compatible yet.
Re: C++11 use in Chromium
#27Earlier quoted context omitted.
Visual Studio 2014 is already much better. http://blogs.msdn.com/b/vcblog/archive/2014/08/21/c-11-14-fe... Last time I checked, outside most C++ compilers were still catching up with C++11. There are more C++ compilers out there than just clang and gcc. Even those aren't 100% compliant at library level, if I am not mistaken.
It must have been a while since you last checked. Many of the features listed here as banned because of lack of VisualStudio support have been available in gcc and clang for years.
Still quite a few rows with N.
https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#...
I was only wrong about clang.
So my point still holds for gcc, and it doesn't change the fact, that there are more compilers out there than the triad clang, gcc, vc++.
Re: C++11 use in Chromium
#28Is there a great guide to C++11 as a language? Typing "Learn C++11" into Google always results in information mixed with legacy C++
Re: C++11 use in Chromium
#29Stuff like this makes me really regret being a C++ developer. Companies and projects are adopting new features at a glacial pace and yet the programming world is still moving forward and it feels like despite the best efforts of the committee and the compiler teams C++ is doomed to continue being a 'legacy language' as companies either continue migrating to C# or sticking with C++98.
Instead of living with regret, why not ask yourself what kind of software you want to be writing and what kind of problems you want to be solving? Some software should be migrated to C# and Java. On the other hand, when it comes to runtime performance, memory footprint, and compiler and runtime availability, nothing matches (or even comes close yet) to C/C++.
Some of C and C++ advantages come from having 30 years of compiler optimizations, while compiler vendors stoped caring about implementations for other languages.
I am big on C++, but as a language geek, I am looking forward to .NET Native release, and see how far it can take C# in this language X vs language Y discussions.
Re: C++11 use in Chromium
#30Stuff like this makes me really regret being a C++ developer. Companies and projects are adopting new features at a glacial pace and yet the programming world is still moving forward and it feels like despite the best efforts of the committee and the compiler teams C++ is doomed to continue being a 'legacy language' as companies either continue migrating to C# or sticking with C++98.