Profiling a Lisp application

Profiling is one of the most important steps in writing software. Once a package is written, profiling greatly helps to identify bottlenecks and inefficiencies by showing how an application spends its time. How to profile a lisp application is a common question among those new to lisp. Luckily, profiling lisp is simple with emacs and slime. Read more…

Jul 1st, 2008 | Filed under Tips
Tags: , ,

Locking with semaphores in newLISP

Recent development version of newLISP have a new forking mechanism that makes spawning new processes and collecting the results much simpler. Read more…

Jun 4th, 2008 | Filed under Programming

Down time

Artfulcode.net is on one of the 9,000 servers hit by the explosion in Texas. My host has been working tirelessly to get everyone back online. Fortunately, we appear to be up and running now.

Jun 4th, 2008 | Filed under Site news
Tags:

Create/update function for CLSQL

Django has a very handy model method in its database library called get_or_create, which either creates a new record using the keyword arguments passed as field values or gets a record using the arguments passed. Read more…

May 9th, 2008 | Filed under Programming
Tags: , , ,

newLISP to get Cilk-style concurrency

Multi-processing in newLISP can be a chore. All processes must be directly known to any others that will be accessing shared memory, which must be synchronized using semaphores. A new development release of newLISP (9.3.7) will change all that by adding Cilk-style primitives. Read more…

Apr 3rd, 2008 | Filed under Programming