Again, no. Its not a black and white statement like "whatever python can do, c++ can do it better". It is also not that python is for beginners and c++ is for large projects. If you look around, you will see mixed examples. There are huge Python projects out there and there are tiny command line c++ tools. For something that does heavy number crunching and looping, there are times when it must be done in c++ for the benefits of a compiled static language. Thus you will see Maya plugins that do Deformer nodes (etc) in the c++ api. But even then, there are ways python developers can move critical code to c such as numpy. Math/matrix code is written in c and accessed as an extension in python to make the operations fast. Not every "td written" tool needs to be c++, and not every small bit of code needs to be python. And don't forget that cpython is written in c, which means many operations are backed by c calls. It depends on what you are doing.
Sorry to write so much. It just sounds like the conclusions being made are bit off. On Jan 21, 2013 12:34 AM, "Tuan Nguyen" <[email protected]> wrote: > Yeah, like when you handle a deform problem, most of them are plugin i > think. I know that what Python can do, C++ can do it better. Then can i > understand it like this? Python is for scripting, solving small problem > that suddenly popup, or small tool. In a long,large project, or if you > wanna be a characterTD, this is when C++ come in handy. > > Normally, characterTD or tech-artist is not a coder from beginning, aren't > they. So Python is for beginner. > > > > On Sun, Jan 20, 2013 at 4:26 PM, Justin Israel <[email protected]>wrote: > >> Ya, I hope I wasn't being misleading. There are things that will require >> c++ to achieve proper performance. >> What I mean is that simply writing in c++ won't equal a gain across the >> board. >> As you put it, you can't just disregard it as an option entirely. It >> comes down to profiling the code in question. >> On Jan 20, 2013 10:12 PM, "Christopher Evans" <[email protected]> >> wrote: >> >>> This performance increase often cannot be overlooked. If you do anything >>> with meshes or animations especially. Not to mention that many C++ >>> functions are still not exposed to openMaya, but many times a C++ plugin >>> will do something in milliseconds but the python code could take minutes. >>> >>> >>> On Sat, Jan 19, 2013 at 8:37 PM, Justin Israel >>> <[email protected]>wrote: >>> >>>> Pyside/pyqt is not limited. At Designer is not the language. It is a >>>> tool. This tool is more useful for c++ >>>> >>>> The things you would find missing from the python bindings are things >>>> that are not needed in python. >>>> >>>> Auto desk doesn't support pyqt/pyside. They support at and users have >>>> to build python bindings. Python is supported because it is fast to >>>> prototype or build many tools that are fast enough. You also have access to >>>> a massive choice of python libraries. You can also move critical code to >>>> python c extensions and still continue using python overall >>>> >>>> There is no benefit to writing your code in C++ unless it will provide >>>> a performance increase. >>>> On Jan 20, 2013 5:34 AM, "illunara" <[email protected]> wrote: >>>> >>>>> Well, if it possibles, i would love to do all those UI-setup: >>>>> paint,event,drag-drop.... in the UI file, for convenient, also easy to >>>>> manage, right? :) >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Python Programming for Autodesk Maya" group. >>>>> To post to this group, send email to >>>>> [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Python Programming for Autodesk Maya" group. >>>> To post to this group, send email to >>>> [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> >>>> >>>> >>> >>> >>> >>> -- >>> CE >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To post to this group, send email to [email protected] >>> . >>> To unsubscribe from this group, send email to >>> [email protected]. >>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected].
