background preloader


Facebook Twitter


Pyqrcode. Embedding Python in Your C Programs. The language of choice for large, high-performance applications in Linux is almost always C, or somewhat less often C++.

Embedding Python in Your C Programs

Both are powerful languages that allow you to create high-performance natively compiled programs. However, they are not languages that lend themselves to runtime flexibility. Once a C/C++ application is compiled, its code is pretty much static. At times, that can be a real hindrance. For example, if you want to allow users of a program to create plugins easily that extend the application's functionality, you have to deal with complex dynamic linking issues that can cause no end of headaches.