Archives

  • Faster string iteration using unpack

    In a previous entry, we used a simple C program and SWIG to extend Python. This was because iteration over Python’s strings, being more complex constructs than C’s character arrays, was not speedy enough for large strings. newLisp, being a high level, interpreted language like Python, also suffers from the same problem. However, [...]

    Aug 23rd, 2007 | Filed under Programming
    Tags:
  • Writing Python modules in C with SWIG

    The Python C API, while very well put together, is still C and therefore requires a lot of time an effort to understand, let alone use. But every now and then, a programmer comes across something that is either impossible in Python or so prohibitively expensive performance-wise that it is worth dusting off the [...]

    Aug 14th, 2007 | Filed under Programming
    Tags: ,
  • Updating the newLISP MySQL5 module

    It has been a very busy few weeks here. This is the time of year when work gets very rushed, and on top of that, my wife and I are expecting. Due to all of that, I have decided against finishing the C Libraries tutorial for newLisp at this time. The reason [...]

    Aug 1st, 2007 | Filed under Programming
    Tags: ,
Archive for August, 2007