Re: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-06 Thread Simon Hausmann
On Tuesday, March 05, 2013 03:53:48 PM Benjamin Poulain wrote:
 On Tue, Mar 5, 2013 at 3:48 PM, Kenneth Rohde Christiansen 
 
 kenneth.christian...@gmail.com wrote:
  I am personally happy that we can make use of C++11 and I don't
  suppose it is a problem for the Tizen/EFL port. On the other hand, I
  fear that Qt might be targeting some platforms where this could be an
  issue. According to http://qt-project.org/wiki/Qt_5.0 they are still
  aiming at supporting Windows XP as a Tier 1 platform.
 
 WebKit2 already requires XP SP2 or above. Can't MSVC 2010 target that?

Yes. MSVC 2010 can target Windows XP SP2 and above. The run-time libraries of 
MSVC 2012 Update 1 support XP SP2 as well.


Simon
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Heads-up: C++11 and WebKit2

2013-03-05 Thread Anders Carlsson
Hello everyone,

Some time ago we started using C++11 in the Mac port of WebKit2. In the near 
future we’re going to expand our use of C++11 in the WebKit2 codebase. 
Specifically, we’d like to make use of rvalue references and move semantics in 
our IPC code to avoid needlessly copying data and to give some serializable 
objects (such as Mach ports) better semantics. 

If you’re a port that is building WebKit2, you're probably already building 
with a compiler that supports rvalue references; according to 
http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport, support for move 
semantics exists in Visual Studio 2010 and later, as well as GCC 4.3 and later 
(and any reasonable modern version of clang).

- Anders

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-05 Thread Kenneth Rohde Christiansen
Hi there,

I am personally happy that we can make use of C++11 and I don't
suppose it is a problem for the Tizen/EFL port. On the other hand, I
fear that Qt might be targeting some platforms where this could be an
issue. According to http://qt-project.org/wiki/Qt_5.0 they are still
aiming at supporting Windows XP as a Tier 1 platform.

Cheers
Kenneth

On Tue, Mar 5, 2013 at 11:21 PM, Anders Carlsson ander...@apple.com wrote:
 Hello everyone,

 Some time ago we started using C++11 in the Mac port of WebKit2. In the near 
 future we’re going to expand our use of C++11 in the WebKit2 codebase. 
 Specifically, we’d like to make use of rvalue references and move semantics 
 in our IPC code to avoid needlessly copying data and to give some 
 serializable objects (such as Mach ports) better semantics.

 If you’re a port that is building WebKit2, you're probably already building 
 with a compiler that supports rvalue references; according to 
 http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport, support for move 
 semantics exists in Visual Studio 2010 and later, as well as GCC 4.3 and 
 later (and any reasonable modern version of clang).

 - Anders

 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-dev



-- 
Kenneth Rohde Christiansen
Senior Engineer, WebKit, Qt, EFL
Phone  +45 4294 9458 / E-mail kenneth at webkit.org

﹆﹆﹆
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Heads-up: C++11 and WebKit2

2013-03-05 Thread Benjamin Poulain
On Tue, Mar 5, 2013 at 3:48 PM, Kenneth Rohde Christiansen 
kenneth.christian...@gmail.com wrote:

 I am personally happy that we can make use of C++11 and I don't
 suppose it is a problem for the Tizen/EFL port. On the other hand, I
 fear that Qt might be targeting some platforms where this could be an
 issue. According to http://qt-project.org/wiki/Qt_5.0 they are still
 aiming at supporting Windows XP as a Tier 1 platform.


WebKit2 already requires XP SP2 or above. Can't MSVC 2010 target that?

I welcome the adoption of more C++ 11 in WebKit2. The TODO list of
things-we-can-do-better-when-we-will-have-C++-11 is depressingly growing.

Benjamin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev