I have a moderate amount of experience in python and a little experience in C++ and c#.
I am currently doing an optimization challenge where I am gated by efficiency, and am hoping to use a C library in python to increase efficiency. I have no experience using C in python, but I won't need to marshall many variables. I will need to call a function in python, then from there it can be entirely C.
An example of what I am hoping the code would look like is:
import cLibrary as C
#start python code
def runFunction(string):
#start C
run function in C, have to marshall string
#end C
runFunction(string)
#end python
I am confident with the C/C++ code itself, primary issue is what library/module to use, how to call that library, and how to convert the string from python to C.