Jacob Kaplan-Moss

4 items tagged โ€œcโ€

๐Ÿ“Œ Writing Python/C extensions by hand

An exploration of writing a Python/C extension in pure C versus using ctypes. The takeaway is that ctypes is slower, but easier. #

๐Ÿ“Œ Mark Finkleโ€™s Weblog ยป Hello JS-CTYPES, Goodbye Binary Components

This is a pretty big deal: Iโ€™ve been using ctypes in Python for quite some time, and I can attest to how much better it is than writting C/C++ wrappers. XPCOM in particular is a total PITA, so js-ctypes should mean a bunch of new, awesome Mozilla plugins. #

๐Ÿ“Œ Pyglet: /trunk/tools/wraptypes

A tool for parsing C header files and generating ctypes wrappers. From the pyglet project, which includes ctypes wrappers for OpenGL. Iโ€™m not sure if this is tunned specially for OpenGL, but if itโ€™s roughly generic it could save *lots* of time. #

๐Ÿ“Œ SIMILE | Timeline

โ€œ...like Google Maps for time-based information.โ€ Holy crap this is cool. #