All projects

CFuncPyPlot

Archived

Function values generated in C, exposed as a shared library, plotted in Python.

Year
2026
Stack
  • C
  • Python
  • matplotlib
  • Shared Libraries

A small demonstration project: arrays of function values are generated in C, handed across a shared library boundary, and plotted in Python with matplotlib.

The interesting part is not either language on its own but the seam between them — the build setup, the boundary crossing, and making the two halves agree on ownership of the memory in between.