Archives Dec. 31, 2004
Moving code from C to Python (Maintainability and robustness)
Written by
on
in
Snaking.
Spent the evening after work on trying to track down why there's a memory leak in the pointer-management functions in PyOpenGL. Problem is, the code there is this grotty low-level stuff that winds up re-creating the reference-counting mechanism in Python just to track whether anything is referencing a pointer.
Decided to rework it as a ...!-->!-->