Blender and Ctypes questions. Speed/portability/examples

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:

  1. 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?)

  2. To provide a python script that uses ctypes/dlls I should simply include that dll in the script folder?

  3. What about portability to linux and mac? I should simply compile .dll and .so and use system.platform() to use either one?

  4. Could you point me to a blender python script that uses ctypes, ideally that you wrote?

Thanks!