Skip to content. | Skip to navigation

Personal tools
Log in
You are here: Home Events cython, ctypes, swig, BBQ

cython, ctypes, swig, BBQ

cython, ctypes and other ways to optimize/compile python code and interface with binary libraries will be the main topic of this event. We'll also have a presentation on how to use swig to combine python and C++ after finding the bottlenecks by profiling. BBQ because if the weather permits we will try to meet in a location where talk and barbecue can be combined...
When May 31, 2011
from 08:00 PM to 01:00 AM
Where TUR building, Turnerstrasse 1
Contact Name Daniel B. Fasnacht
Contact Phone +41 76 380 2536
Add event to calendar vCal

Richard Milne and Daniel Fasnacht will present cython and other tools to optimize/compile python code or to interface python with C or binary libraries (such as ctypes).

We will also show two real-world examples where we could speed up programs we wrote by orders of magnitude.

For ctypes we will present the pyusb library as an example of how ctypes is used to interface to USB devices with a pure python module.

In addition to the above we will have a quick intro on how to use swig in order to combine Python and C++ by Martin Renold, then Martin will demo all of this with his application MyPaint.


If the weather is good we will also have a BBQ. The grill will be hot all evening from 18:00 on, talks start ca. 19:00.

Please bring your own sausages etc for the BBQ... In case the weather is bad we'll still have a BBQ as there is a kitchen available to grill your things inside.


SPECIAL LOCATION: Our location is the TUR building of ETHZ at Turnerstrasse 1. Check: Locations