IRTUM – Institutional Repository of the Technical University of Moldova

Improving performance of threads in Python using C/C++ extensions

Show simple item record

dc.contributor.author CASIAN, Olga
dc.date.accessioned 2019-07-05T06:45:28Z
dc.date.available 2019-07-05T06:45:28Z
dc.date.issued 2012
dc.identifier.citation CASIAN, Olga. Improving performance of threads in Python using C/C++ extensions. In: Conferința Tehnico-Științifică a Colaboratorilor, Doctoranzilor și Studenților, Universitatea Tehnică a Moldovei, 8 – 10 decembrie, 2011. Chișinău, 2012, vol. 1, pp. 94-95. ISBN 978-9975-45-208-3 (Vol.1). en_US
dc.identifier.isbn 978-9975-45-208-3
dc.identifier.uri http://repository.utm.md/handle/5014/3207
dc.description.abstract Although Python provides all the synchronization primitives and communication mechanisms one can need for fine-grained management of concurrency, due to the design of the CPython interpreter it is impossible to execute the code on multiple CPUs at a time. This is caused by Global Interpreter Lock (GIL), the mechanism that guaranties that only one thread can execute Python byte code at a time. The article describes the origin of this problem and provides a solution that can significantly improve performance by using C/C++ code extensions, thus benefiting from the speed of compiled languages. en_US
dc.language.iso en en_US
dc.publisher Tehnica UTM en_US
dc.rights Attribution-NonCommercial-NoDerivs 3.0 United States *
dc.rights.uri http://creativecommons.org/licenses/by-nc-nd/3.0/us/ *
dc.subject Python threads en_US
dc.subject Global Interpreter Lock en_US
dc.subject C++ en_US
dc.title Improving performance of threads in Python using C/C++ extensions en_US
dc.type Article en_US


Files in this item

The following license files are associated with this item:

This item appears in the following Collection(s)

Show simple item record

Attribution-NonCommercial-NoDerivs 3.0 United States Except where otherwise noted, this item's license is described as Attribution-NonCommercial-NoDerivs 3.0 United States

Search DSpace


Browse

My Account