MyPaint: mixing Python and C

Speaker(s) : Martin Renold

  • Language : English
  • Nature : Conference
  • Date : Tuesday 10 July 2012
  • Schedule : 11h00
  • Duration : 40 minutes
  • Place : Uni Mail S130


After a short introduction to MyPaint, we take the program apart with a profiler. I explain some of the code paths that were optimized. Finally we look at the technique used to combine Python with C. This is a mini-tutorial about a certain way of using SWIG.


Martin Renold is one of the MyPaint maintainers. He created the program in 2004 while studying, just for his own needs at first. Professionally, he works on industrial Ethernet FPGA frameworks and software, which sometimes involves embedded Linux.

PDF - 512.2 kb
Mixing Python and C
Slides of the presentation
opendocument presentation - 1.1 Mb
Mixing Python and C
Slides (source format : ODP) of the presentation