[webkit-dev] on coding-style

Benjamin Poulain benjamin at webkit.org
Fri Apr 12 16:17:28 PDT 2013


On Fri, Apr 12, 2013 at 4:09 PM, Karen Shaeffer <shaeffer at neuralscape.com>wrote:

> Of course, I understand that. But there is a huge opportunity cost to
> webkit.
> The c++11 standard also rewrites the entire standard library. I have been
> using
> g++ 4.7.2 using -stdc++11 in my work with linux. And the code I have
> tested is
> performing nearly like c code. If you take advantage of the performance
> enhancements
> in C++11, then you can realize impressive performance gains.
>
> I do understand the nature of the business. And I also understand that
> performance
> is huge moving forward, where resource constrained mobile platforms are
> significantly
> affected by performance issues. I suggest you'll see Blink moving
> aggressively to
> support C++11 moving forward. And I suggest it is in WebKit's long term
> interest to
> do so as well.


We already add as much support as we can while not breaking Windows and
Linux.
If you look at WTF, we use compiler flags to enable C++11 features on a
case by case basis. WebKit2 goes even further and support of some feature
is mandatory.

You are welcome to help with that effort.

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130412/bda03d7e/attachment.html>


More information about the webkit-dev mailing list