On Mon, May 21, 2018, 5:46 PM Justin Israel <[email protected]> wrote:

>
>
> On Mon, May 21, 2018, 4:48 PM AK Eric <[email protected]> wrote:
>
>> Having been in touch with the Autodesk devs directly, I no longer use *any
>> *Python-base scripted-plugin-based *nodes *since Maya 2015 (Maya 2016
>> introduced the multithreaded evaluation graph):  Per discussion above, from
>> 2016-on, they've confirmed (and I've seen first hand) they drop the
>> evaluation graph back to a single thread during evaluation (which you can
>> confirm for yourself by profiling the evaluation of your rig), based on
>> Python's GIL : I still make scripted plugin based *commands*, they're
>> fine.  But if you want a performant plugin-based *node*, you needs to be
>> making it via the c++'s.
>>
>> BTW, this makes me personally sad since I love Python, but I completely
>> understand the reason behind it: Python as Maya implements it simply isn't
>> multithreaded.
>>
>
> Python as CPython implements it simply isn't multithreaded ;-)
>

To be fair, this joke only works if it reads as "parallel" (vs concurrent)
instead of multithreaded

> --
>> 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/ce992caf-1964-4e7d-a96d-b126c8e5a923%40googlegroups.com
>> <https://groups.google.com/d/msgid/python_inside_maya/ce992caf-1964-4e7d-a96d-b126c8e5a923%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA23oyzODPOgjot5AnK46N9dhL2V8ab6z11gT_sWc%3DrpDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to