Sorting algorithms used in the CL implementations

Which sorting algorithm should one implement when developing a program? The best answer is probably none. Use the sort provided by your system/library/etc. Unless you know your input data has some special properties that you can take advantage of, the provided sort should be enough for your needs and probably is more efficiently implemented. However, … Continue reading Sorting algorithms used in the CL implementations

Packages organization and exporting symbols

I’ve started to re-design my main library for evolutionary computation. One of the main things I did for the new version was a complete new organization of the packages (and respective files/modules). Before I had essentially two main packages, the library itself and the examples. Although simple, it became a pain to use this model … Continue reading Packages organization and exporting symbols

The Lisp Alien arrived: a “Land of Lisp” review/opinion

I finished reading Land of Lisp (LoL) from cover to cover some days ago. I bought the print+pdf pack the day it was released, because I simply couldn’t resist. The video and the comic available on the website convinced me that, even if it was the worst book in the world (which it obviously isn’t), … Continue reading The Lisp Alien arrived: a “Land of Lisp” review/opinion

The answer is 1 if…

… you know something about Floating-Point Arithmetic and if you use Common Lisp. :-) Background: recent story that appeared on reddit. From time to time there is always an article about this issue. I am surprised by the amount of people who simply are unaware of it or who don’t care. And it’s not just … Continue reading The answer is 1 if…

Simple things in Lisp

This post is more a note to myself, so that I shouldn’t forget some interesting things, but perhaps trivial, that I came across this week. It ranges from those kind of things you sometimes bump into them and then forget, to the those you seldom use and suddenly find them cool. Instead of writing it … Continue reading Simple things in Lisp

Quicklisp or: How I learned to stop worrying and love installing Common Lisp libraries

Common Lisp is one of those languages that you either love or hate (for any definition). Unfortunately, the later group is rather quite large and the reasons for that dislike go from the simple parenthesis (I still wonder what these little fellas did to annoy so many people) to many other things. One of them … Continue reading Quicklisp or: How I learned to stop worrying and love installing Common Lisp┬álibraries