Ooops - realized I didn't finish my post - I was going to say: Word on the street about the somewhat ambiguous compiler recommendation is that they were going to just officially recommend 4.8.2, but encountered a compiler bug (perhaps the one subsequently fixed, as noted here? http://www.vfxplatform.com/#footnote-gcc), and emphasized 4.4.7 as a result. Can't remember who I heard saying that, though, so take with a grain of salt.
And yeah, it's possible that whatever feature we used would have worked in 4.4.7. But they do specifically say you're allowed to use 4.8.2 if you want C++11 support. - Paul On Sat, Jan 9, 2016 at 12:16 PM Justin Israel <[email protected]> wrote: > On Sun, Jan 10, 2016 at 9:06 AM Justin Israel <[email protected]> > wrote: > >> On Sun, Jan 10, 2016 at 8:38 AM Paul Molodowitch <[email protected]> >> wrote: >> >>> Hmm - so C++11 isn't usable in windows maya plugins yet? Bummer... their >>> linux spec supports it, sort of: >>> >>> >>> https://knowledge.autodesk.com/support/maya/getting-started/caas/CloudHelp/cloudhelp/2016/ENU/Maya-SDK/files/Setting-up-your-build-environment-Linux-compiler-requirement-htm.html >>> >>> I've made a few small plugins that used C++11, and they seemed to work. >>> (Word on the street about the split >>> >> > Also, maybe this is the reason? > https://gcc.gnu.org/projects/cxx0x.html > > Bits and pieces of C++11 features are available as far back as GCC 4.3 > So maybe the compatible gcc for your target Maya supported the constructs > you specifically needed? > > >> >>> I haven't used C++11 much yet myself, but there's a bunch of features >>> that I kept thinking / wishing were in C++, that when I looked up, found >>> out would be in C++11. The unique_ptr / shared_ptr - would probably be >>> worth it alone, for me (they were the most common reason I would add boost >>> dependencies, which was obviously overkill). Other things I've wished I'd >>> had at various points included static asserts, ability to call a >>> construction from within another constructor of the same class, >>> >> >> True, I also could have use delegating constructors recently as well. >> Although for shared pointers, at least the boost dependencies is >> header-only. >> >> >>> and initialization lists for classes. >>> >>> On Fri, Jan 8, 2016 at 11:24 PM Justin Israel <[email protected]> >>> wrote: >>> >>>> I'd actually like to hear input from those that have used c++11 in a >>>> production capacity, about what features they have found most useful. >>>> >>>> "auto" is just a convenience really >>>> Shared pointers are nice without needing Boost or Qt. >>>> Move semantics seems cool if you are trying to write some efficient >>>> code. >>>> Lambdas for sure would be great. >>>> >>>> On Sat, 9 Jan 2016 9:14 AM Justin Israel <[email protected]> >>>> wrote: >>>> >>>>> I am responding to your suggestion that one wants the latest and >>>>> greatest cutting edge technology. I didn't understand why you would >>>>> require >>>>> c++11 just to be cutting edge and up to date. I was asking what exactly >>>>> you >>>>> wanted from c++11 that would justify the effort? It felt to me that your >>>>> only reason was the it was newer. What would you use from it? >>>>> >>>>> On Fri, 8 Jan 2016 11:02 PM Marcus Ottosson <[email protected]> >>>>> wrote: >>>>> >>>>>> What are we arguing here exactly? :) Marketing versus Progress? Looks >>>>>> like a stalemate to me. >>>>>> >>>>>> I got what I was looking for; if you are to use C++11 with Maya, >>>>>> you'll need to go the long way around. Whether it's worth it or not >>>>>> depends >>>>>> on what you do. In your case, maybe it isn't worth it, in my case, maybe >>>>>> it >>>>>> is, hence the question. >>>>>> >>>>>> On 8 January 2016 at 09:39, Justin Israel <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, 8 Jan 2016 9:17 PM Marcus Ottosson <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> > stdin/stdout are file descriptors. sockets are file descriptors. >>>>>>>> Technically its all the same camp where you read and write and poll >>>>>>>> their status. >>>>>>>> >>>>>>>> Ah. I was under the impression that sockets had to go the TCP >>>>>>>> route, through the network card, but this would make more sense. >>>>>>>> >>>>>>> >>>>>>> Unix domain sockets don't go through TCP. they are more like named >>>>>>> pipes >>>>>>> >>>>>>> https://en.m.wikipedia.org/wiki/Unix_domain_socket >>>>>>> >>>>>>> >>>>>>>> > But what features of C++11 are you itching for that would make >>>>>>>> your plugin so much more performant or easier to maintain? >>>>>>>> >>>>>>>> Haha, nothing in particular. You know you could have said the same >>>>>>>> thing about newer versions of anything, right? "What about Maya 2016 >>>>>>>> will >>>>>>>> make your work so much better looking and easier to make?" :) >>>>>>>> >>>>>>>> I would like to progress, wouldn't you? >>>>>>>> >>>>>>> >>>>>>> Well that would just be like following marketing hype, right? >>>>>>> "newer, faster, better". >>>>>>> But if you aren't going to use any c++11 features, then what is the >>>>>>> point of going to extra trouble to use it in a portable way? You could >>>>>>> just >>>>>>> keep coding in more portable c++ for a bit longer until the stragglers >>>>>>> fall >>>>>>> off and C++11 is a minimum requirement. Vfxplatform 2016 still only >>>>>>> specifies gcc 4.8 >>>>>>> http://www.vfxplatform.com >>>>>>> >>>>>>> I haven't been writing production c++ for too long yet (almost a >>>>>>> year) but I have managed so far using boost or qt. Maybe lambdas would >>>>>>> have >>>>>>> been nice? I could have used those. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODxGMcMpWfPXcfsqZ1Drimfw3A3KV0eOR%2B4sxvfCXo6jw%40mail.gmail.com >>>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODxGMcMpWfPXcfsqZ1Drimfw3A3KV0eOR%2B4sxvfCXo6jw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> >>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA08sT5RUme76dv6mrZrAZiOe9KGv9x7vxHYtUHSNJHULQ%40mail.gmail.com >>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA08sT5RUme76dv6mrZrAZiOe9KGv9x7vxHYtUHSNJHULQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>> >>>>>> >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Marcus Ottosson* >>>>>> [email protected] >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Python Programming for Autodesk Maya" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBEghJh-gD%3D7vx1PGxnAZTU8_jUU%3DdjpAFq9YJFBxwVmg%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBEghJh-gD%3D7vx1PGxnAZTU8_jUU%3DdjpAFq9YJFBxwVmg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Python Programming for Autodesk Maya" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA341zi0t2XgYkJkj_Rkz_n_F1Nm5bGMfsKyyFXp_e_Hcg%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA341zi0t2XgYkJkj_Rkz_n_F1Nm5bGMfsKyyFXp_e_Hcg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>> >>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CAAssL7Z3Z3QiuP%2BWT%3DQ_djXPM4tHQorujHy-P%2B6%2BKt-uk2W05A%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CAAssL7Z3Z3QiuP%2BWT%3DQ_djXPM4tHQorujHy-P%2B6%2BKt-uk2W05A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0UWkczjvWBEX-rN1_KEXOU6pEHVN8kcht9vbaNpncJ6A%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0UWkczjvWBEX-rN1_KEXOU6pEHVN8kcht9vbaNpncJ6A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7aOn%3D2dDXkwXD0YjP4arABOu5DUTfOnmmZ6dxrpjAejtQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
