School of Computing

Jul 22, 2019
16:00 - 17:00
PLAS: Guillaume Bertholon (Ecole Normale Superieure)
PLAS Group Seminar
Better language interoperability between Python and C

Different programming languages define different abstractions. As a consequence, it can be really hard to make them communicate smoothly with each other, especially when the used paradigms differ a lot.In my internship at the University of Kent, I focused on how to improve interoperability between Python (a managed and dynamically typed language) and C (a native language with static memory layouts). The state of the art way to call C code from Python requires a lot of manual wrapper code which can be hard to maintain and lead to bugs. But C (and more generally ELF) libraries should be seen in Python as regular modules, and objects should cross language boundaries without breaking VM abstractions.We will discuss how to achieve these goals by using liballocs: an extended C compilation toolchain & runtime that stores typing and allocation information about native code to provide introspection and memory instrumentation features.


Cornwallis South West,
University of Kent,
United Kingdom


Contact: O.Chitil
School of Computing

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 14/08/2015