http://cython.org/I got board in one of my now rare bits of free time and looked into it. turns out that it will be very useful for us.
What is Cython:
it is a python based language that allows c type defs the Cython compiler then translated the python code into C-code and compiled it with a c compiler. The c code runs inside the python run time and handles untyped things as python objects. it is perfect for building c extensions for python.
I can compiled MOST python code strait into c with moderate speedup and can dramatically improve performance when you start defining ctypes especially inside loops:
Where it will be useful:
as it generates binaries it will be perfect for writing our encryption library in we'll be able to get the speed of c while easily translating python objects and protecting the source code
Profiling our code base will allow us to optimize specific parts with cython.
We'll be able to compile most of our code base which will give us a slight performance boost as it will slightly reduce overhead for call lookups and it will protect our code base by presenting it as compiled python c code instead of raw source code. it will still be reverse able but much harder as they will have to translate it from binary calls which will frequently call into python into source code.
we should only break out Cython once we start getting ready to release.