You don't always immediately get better performance by choosing C++ over
python. It depends specifically on what your application is doing. A UI
that is presenting a bunch of options and buttons to perform API actions in
Maya is most likely going to have zero different between it being written
in Python vs C++. But if that UI needs to do a bunch of calculations, or
loops, etc, profiling might tell you that you get better performance in C++
(if with compiled extension libraries in Python still can't get you where
you need to be).

I am sure writing something in C++ can have its own set of complications,
such as portability. PySide happens to be shipped with Maya now, so that
means a pure python UI can be distributed for multiple platforms, where as
a C++ UI would have to be cross compiled.

Like others have said...choose the best tool for the job. I have some
pretty heavy UIs in PySide and people can't tell the difference because
they perform quite well.

On Mon, 15 Dec 2014 10:51 AM AK Eric <warp...@sbcglobal.net> wrote:

> Most of the UI's I write are interacting with *other* legacy ui's
> (whether authored via mel, Python cmds, or PySide) , or parts of the DAG.
> If the only access I had to them was through the c++ api I'd probably shoot
> myself :P  Having access to PySide (for me) makes the actual interaction
> part with Maya trivial, compared to jumping through all the hoops needed to
> do simple stuff in the api.
>
> --
> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/5c207f32-635b-4bbd-bf83-
> 1cd9453ee7d6%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/5c207f32-635b-4bbd-bf83-1cd9453ee7d6%40googlegroups.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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3qD7s7_jR2J2-07nbkpuWTtpy6ufjNCNQhp8DyT9TVdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to