Skip to content

dvjdjvu/c_from_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Примеры как вызывать C/C++ из Python, используя: ctypes (Linux, Android, iOS), CFFI, pybind11, C API, boost.

C/C++ из Python (ctypes)
C/C++ из Python (CFFI, pybind11)
C/C++ из Python (C API)
C/C++ из Python (boost)

Среднее время выполнения теста на 1000 запусках:

ctypes: --- 0.0004987692832946777 seconds ---

CFFI: --- 0.00038521790504455566 seconds ---

pybind: --- 0.0004547207355499268 seconds ---

C API: --- 0.0003561973571777344 seconds ---

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published