Hi, I’m starting to learn C and I’m trying to do some planning to implement ctypes in an import/export script. I haven’t done any tests yet, just a little googling, and I’d like to get answers for these quick questions:
Using Ctypes for using functions written in C from a dll is generally faster than executing the equivalent functions in python? Mainly functions about reading files structures (any example in blender?)
To provide a python script that uses ctypes/dlls I should simply include that dll in the script folder?
What about portability to linux and mac? I should simply compile .dll and .so and use system.platform() to use either one?
Could you point me to a blender python script that uses ctypes, ideally that you wrote?