Archive for the ‘Programming’ Category

Common Lisp Tutorial

Thursday, September 20th, 2007

Peter Siebel points out the fact that googling for “common lisp tutorial” gives poor results. I hope that this post will help a bit in improving the situation, because I think Practical Common Lisp is the best introduction to Lisp.

Update
It’s now up to 3rd place! Not bad.

SBCL 1.0 Released!

Thursday, November 30th, 2006

Today, the SBCL team released the long awaited version 1.0. Besides the bugfixes, this version introduces several interesting optimizations:

  • method calls with &OPTIONAL or &KEY arguments are faster and don’t cause extra consing
  • MAP and MAP-INTO are significantly faster on vectors whose elements types have been declared.
  • Improvements to SB-SPROF:
    • Support for allocation profiling
    • Reduced profiling overhead, especially for long profiling runs

There are also improvements to the Windows port.

Great work! Congratulations, guys.

Delivering Lisp Applications with CMUCL

Monday, February 20th, 2006

Rob Warnock has a very good description on c.l.l. of how to deliver a Lisp app with CMUCL. He uses a neat trick to distribute much slimmer updates, and I wonder if it’ll work for SBCL as well.

The Lisp Dictionary

Friday, February 10th, 2006

I have to admit, at first I didn’t understand the idea behind the Lisp dictionary. It just sounded weird. Then, I decided to give it a try and finally got it: it is a text search engine for online Lisp documentation and books. As far as I can see, it currently searches through the hyperspec, Practical Common Lisp and Successful Lisp.

So now, you can finally see what “car” means.

Tuning Apache

Tuesday, February 7th, 2006

Tuning Apache is no easy deed. The first step is to understand what is going on and what all those options in the config files are all about. This article explains a few in the right way. Good stuff.

An interesting comment suggested to use thttpd to serve the static content and leave Apache do the dynamic.

And, the latest post in Virtual Threads describes the memory usage on a typical Linux system and why ps usually gets it “wrong”.

Of course, tuning Apache is only part of the problem. One of the bigger time eaters is the database and cdb looks like a nice alternative for the static part. Hopefully, I’ll have some time to evaluate it.

CSS vs. Tables

Tuesday, January 10th, 2006

There is a nice tutorial about building page layout with CSS.

Araneida

Tuesday, January 10th, 2006

Alan Shields took over the maintenance of Araneida some time ago and is doing a great job with it. Yesterday he created a new tutorial for it, which covers much more things than the previous one. It is in the test repository and you need this version to actually run it.

I’ll try the new stuff out and will post my comments here. And who knows? Maybe I’ll write a tutorial about it too.