[webkit-dev] More C++11 in WebKit2!
andersca at apple.com
Mon Apr 29 10:33:16 PDT 2013
On Apr 28, 2013, at 1:00 PM, Geoffrey Garen <ggaren at apple.com> wrote:
> Hi Mikhail.
>> In continuation of the topic I'd like also to know people's opinion about Pass*Ptr types deprecation:
> I don't think this is appropriate until the compilers on all our major target platforms support C++11. I believe Windows is currently the primary barrier.
> Once we have C++11 on all our major target platforms, I think it would great to adopt C++11 idioms throughout the project.
> I believe that part of our reasoning for deploying C++11 idioms in WebKit2 is that it meets this criterion.
In WebKit2 we have much more freedom to do C++11 experimentation, both due to not having to think about Windows but also due to the fact that WebKit2 is about one fifth the size of WebCore when it comes to number of lines of code.
When we come up with successful C++11 design patterns and idioms in WebKit2, we can apply them to WebCore when the time is ready. (One thing I’m playing with in WebKit2 is to stop using PassOwnPtr and just using std::move instead).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev