You are viewing dmalcolm

29 January 2011 @ 06:43 pm
FUDcon talk: Different Species of Python  
I'm at FUDCon in Tempe, Arizona.  Today I gave a talk entitled "Different Species of Python", comparing the various implementations of the Python language, and how we might better support them within Fedora.

I hope this will be of interest to both the folks on the Planet Fedora and the Planet Python aggregators.

I ran overtime a bit: lots of interesting questions and discussion on the internals of the two CPython implementations, so I didn't get to cover Jython, IronPython and PyPy as much as I might have done, or the packaging issues, but hopefully a useful time was had by all.

I've uploaded a copy of my slides to my Fedora People page, as PDF here and as ODF here - enjoy!

Tim Flink heroically transcribed the talk and questions for those on IRC.  A transcript can be found here
Tags: ,
( 2 comments — Leave a comment )
jackdied on February 9th, 2011 06:09 am (UTC)
Nice slides. A couple additions:
1) PyPy can make objects smaller in memory but can also greatly bloat the memory size of code. That's the memory/speed tradeoff of the JIT.
2) compiling --with-pydebug falls back to straight malloc allocations instead of the default CPython small-object arena allocations. This almost never matters, but it surprised me once.
dmalcolm on February 9th, 2011 05:07 pm (UTC)
Good points - thanks!

I guess the issue here is that's its impossible to give a full description of the characteristics and trade-offs of all of the major implementations of Python in a one hour talk :) (I also wanted to talk more about the packaging implications of the different implementations, but was able to only touch on that, alas)
( 2 comments — Leave a comment )