Embedding Python
Just want to share some useful links about embedding Python to your C-based application:
- the main article: Embedding Python in Another Application
- additional article that shows peculiarities of multithreading, sockets and shared memory: Embedding Python in C/C++ (Part1, Part2)
- Cython (or Pyrex) can be used to reduce handwritten code for Python interoperability: A quick Cython introduction
tinypy is a minimalist implementation of python in 64k of codeHowever, I highly recommend to use classic CPython implementation (basically because it has a huge number of contributors and supporters, and has an excellent documentation). It can be stripped up to 1-2 megabytes depending of your requirements.
...
What more could you possibly want??
a pony?
Comments
Post a Comment