Profile cover photo
Profile photo
Aleksandar Veselinovic
About
Posts

Post has attachment

Post has attachment
PythonRobotics
PythonRobotics
atsushisakai.github.io

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Probably you have run into the problem of wanting to update a plot while acquiring a signal, but finding that Python is busy during the acquisition. This happens, for example, when functions or methods take long to execute and you can't regain control until it is done. Python has at least two different ways of solving this issue, one is the threading module and the other is the multiprocessing module. They look the same but are fundamentally different, and therefore you need to understand their differences in order to decide when to use one or the other.

Post has attachment
An interesting analysis of cPython implementation and possible speedups with minor changes to Python's object model:

"It is in keeping with what other high-level languages have found that Python code does not use the dynamic features of the language all that much. But the data structures used in the interpreter overemphasize these dynamic features that are not used that widely, he said. Better native code generation, which is a common place to look for better performance, does not directly address the performance of data structures that are not optimized for the 90% case. What would the object model look like if it were optimized for the most frequent operations and how much performance would be gained?"

Post has attachment
Wait while more posts are being loaded