Hi Rob,

Thanks for the wiki!

I think that would be great to have some examples so that people can easier 
start using the new features.

BR,
Mikhail

________________________________________
From: Crosswalk-dev [crosswalk-dev-boun...@lists.crosswalk-project.org] on 
behalf of Staudinger, Robert [robert.staudin...@intel.com]
Sent: Wednesday, April 02, 2014 9:48 AM
To: Hwang, Dongseong
Cc: crosswalk-dev@lists.crosswalk-project.org
Subject: Re: [Crosswalk-dev] C++11 in Tizen extensions code

I have tried to briefly summarise this discussion on a wiki page
https://github.com/crosswalk-project/crosswalk-website/wiki/Use-of-C-plus-plus-11-features

The "notable features" are mostly a starting point for discussion, of course.

Do you think we need per-feature examples? I have a collection and
could put them up as well.

- Rob

On 25 March 2014 16:53, Hwang, Dongseong <dongseong.hw...@intel.com> wrote:
> I agree on using c++11 for only t-e-c.
>
> Currently, chromium officially does not support c++11 because of gcc on
> linux, cros and android.
> https://groups.google.com/a/chromium.org/forum/?fromgroups=#!searchin/chromium-dev/space$20android/chromium-dev/oVTPsijC7d0/WDcnq3AyE4gJ
> windows: msvs2012
> mac: clang
> linux: gcc4.7, clang
> chromeos: gcc4.7
> android: gcc4.6
>
> After every platforms support gcc 4.8, chromium would support c++11.
>
> Interestingly, chromium project uses c++11 only on pNaCl. you can see pNaCl
> supports c++11 lamda function in here:
> http://www.unvanquished.net/news/119-moving-the-server-side-gamelogic-to-pnacl
> It's because pNaCl complier is made by llvm. This approach looks similar to
> that you will use c++11 only for t-e-c.
>
> gcc is major blocker for c++11.
>
> DS
>
>
>
> On Tue, Mar 25, 2014 at 5:26 PM, Raphael Kubo da Costa
> <raphael.kubo.da.co...@intel.com> wrote:
>>
>> "Pozdnyakov, Mikhail" <mikhail.pozdnya...@intel.com> writes:
>>
>> > Hi all,
>> >
>> > As we know the chromium basic classes (form 'base' namespace ) are not
>> > available in
>> > the extensions code, so the extension developers are missing some basic
>> > stuff there
>> > (e.g. smart pointers).
>> >
>> > To solve it I propose enabling of C++11 in Tizen extensions code and
>> > enjoying all
>> > the new features from both C++ language engine and STL (unique_ptr
>> > shared_ptr and
>> > so on).
>> >
>> > Pls. see here the list of new features accessible in GCC
>> > http://gcc.gnu.org/projects/cxx0x.html
>>
>> Is this concerning only the tizen-extensions-crosswalk repository? If
>> so, I second what Thiago said about Tizen itself being the only limiting
>> factor -- if the GCC 4.8 there supports everything you want to do, I
>> don't see why not do that.
>>
>> And yes, we have to be pretty clear that this is only about t-e-c,
>> otherwise at some point people will start submitting patches to
>> Crosswalk that use C++11 features.
>> _______________________________________________
>> Crosswalk-dev mailing list
>> Crosswalk-dev@lists.crosswalk-project.org
>> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
>> ---------------------------------------------------------------------
>> Intel Finland Oy
>> Registered Address: PL 281, 00181 Helsinki
>> Business Identity Code: 0357606 - 4
>> Domiciled in Helsinki
>>
>> This e-mail and any attachments may contain confidential material for
>> the sole use of the intended recipient(s). Any review or distribution
>> by others is strictly prohibited. If you are not the intended
>> recipient, please contact the sender and delete all copies.
>>
>
>
> _______________________________________________
> Crosswalk-dev mailing list
> Crosswalk-dev@lists.crosswalk-project.org
> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
>
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to