Aug 2007
Faster string iteration using unpack
08/23/07 12:23 PM Categories: newLISP
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, newLisp's unpack function provides another option. Read More...
|
Why not dynamic scope?
08/21/07 09:06 PM Categories: Etc
Dynamic scope is not popular. Many languages are moving toward lexical, or static, scoping. However, there are still a few modern, dynamically scoped languages. Perl, Common Lisp, newLisp all use dynamic scope (although each has lexical mechanisms.) Read More...
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 old C textbook. Read More...
Updating the newLisp MySQL5 Module
08/01/07 03:55 PM Categories: newLISP
Due to how busy things have been, I've nixed the newLisp C tutorial for the time being, and instead, have done some work on the newLisp MySQL5 module to update pieces that are broken and extend it with some nice, albeit basic, features. Read More...
