Archives
-
Pointers, arrays, and string literals
A recently posted question on Stack Overflow highlighted a common misconception about the role of pointers and arrays held by many programmers learning C.
Jun 19th, 2009 | Filed under ProgrammingTags: c -
Using the newLISP FFI
One of newLisp’s out-of-the-box features is its foreign function interface. It is simple to use, requiring only a minimal knowledge of C and a willingness to read documentation. Submit article
Jan 18th, 2009 | Filed under Programming -
Making 64-bit MySQL work with newLISP
For the past few days have been spent trying to get the newLISP MySQL module to work with the 64-bit version of the libmysqlclient library. Here is what I did to get things working properly. Submit article
Jul 24th, 2008 | Filed under Programming -
Extending Python with (almost) anything
Among the various methods of extending Python about which I have written, Python 2.5′s ctypes module is possibly the easiest. Submit article
Mar 24th, 2008 | Filed under Software -
Extending Python with Pyrex
In a previous entry, I showed how to extend Python without directly using the Python C using SWIG. SWIG parses an interface file written by the programmer and then outputs a wrapper module. A more elegant, more pythonic solution might be a parser which allows a C module to be written directly in Python. Pyrex [...]
Oct 23rd, 2007 | Filed under Programming