[webkit-dev] WebKit, C++11, and Visual Studio 2013
Brent Fulgham
bfulgham at apple.com
Fri Dec 6 16:15:17 PST 2013
Hi Alex,
There are a few items missing from VS2012 (see http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx) that we are already using in the Mac-specific source code:
1. Variadic Templates
2. Initializer Lists
3. Explicit conversion operators
4. Deleted functions
None of those items are supported in VS2012, and we would like to expand their use to the rest of WebKit. Clang and GCC already support these features, so VS2012 (and earlier) hold the rest of the project back.
-Brent
On Dec 6, 2013, at 4:05 PM, Alex Christensen <alex.christensen at flexsim.com> wrote:
> Is there any advantage of VS2013 instead of VS2012? I've been using VS2012 for a while, and it works fine. It also has the C++11 features we want to use. Staying one version behind the latest usually prevents updates from breaking things.
>
> Alex Christensen
>
>
> On Fri, Dec 6, 2013 at 3:53 PM, Brent Fulgham <bfulgham at apple.com> wrote:
> Hi Everyone,
>
> We are working hard to move WebKit toward stronger adoption of C++11 features, such as variadic templates, ranged for-loops, and initializer lists. Unfortunately, this effort has been hampered by the small subset of C++11 features available in Visual Studio 2010.
>
> You can get a feel for the level of C++11 support in the last few versions of Visual Studio here:
> http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx
>
> With Visual Studio 2013, we finally have access to a compiler that supports the major C++11 features we need. Consequently, we intend to switch to VS2013 and begin taking advantage of these new language constructs.
>
> Over the next week we will be landed a series of source changes that allow WebKit to be built with VS2013, but will continue to build with VS2010 on our build machines. Next Friday, we plan to land project file changes to switch to the new compiler, and will simultaneously convert our build system to use VS2013 as well.
>
> Once the revised project files are landed, we will no longer be officially supporting Visual Studio 2010 as a compiler target.
>
> For those playing at home, you can track progress by following https://bugs.webkit.org/show_bug.cgi?id=125192.
>
> WebKit continues to build with the free “Visual Studio 2013 Express” software, so I do not anticipate that this change will block any external developers from running Windows builds.
>
> Thanks,
>
> -Brent
>
>
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
>
>
> --
>
> Alex Christensen
>
> FlexSim Software Products, Inc.
>
> 1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097
>
> Voice: 801-224-6914 | Fax: 801-224-6984
>
> Email: alexc at flexsim.com
>
> URL: www.flexsim.com
>
>
> ----------------------------------------------------------------------------------------
> This message may contain confidential information, and is intended
>
> only for the use of the individual(s) to whom it is addressed.
> ----------------------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20131206/e27579d8/attachment.html>
More information about the webkit-dev
mailing list