Newbie question: Interpreted CL

Discussion of Common Lisp
Post Reply
abc
Posts: 4
Joined: Fri Sep 18, 2009 7:09 am

Newbie question: Interpreted CL

Post by abc » Tue Sep 22, 2009 7:40 am

Hi all,

I've read somewhere recently that some people use CLISP for development but not for production. Ignoring the licensing, is this due to the fact that an interpreted implementation of CL is much friendlier for development than a compiled one? In a compiled one you need to recompile all forms that use a macro when you redefine it, right? Is this much of an issue?

Thanks!

ramarren
Posts: 613
Joined: Sun Jun 29, 2008 4:02 am
Location: Warsaw, Poland
Contact:

Re: Newbie question: Interpreted CL

Post by ramarren » Tue Sep 22, 2009 8:26 am

abc wrote:I've read somewhere recently that some people use CLISP for development but not for production.
I read that too, but I am not sure how widespread this is in practice. As far as I can tell most people use the same implementation for production and development.
abc wrote:Ignoring the licensing, is this due to the fact that an interpreted implementation of CL is much friendlier for development than a compiled one?
I don't think that is particularly true. In addition, I believe that Slime is mostly developed with SBCL, which means that it integrates better. CLISP might be better if one is attempting to use the naked terminal, since it uses readline and the non-slimeified debugger is slightly easier to handle in CLISP.
abc wrote:In a compiled one you need to recompile all forms that use a macro when you redefine it, right? Is this much of an issue?
It is very rarely an issue in my experience, because macros are rare enough and changed rarely enough that it is easy to just reload the entire system when they are changed. There is also slime-recompile-xref and slime-recompile-all-xrefs, which along with slime-who-macroexpands can recompile all expansion sites automatically.

TheGZeus
Posts: 79
Joined: Mon Jun 30, 2008 10:46 am

Re: Newbie question: Interpreted CL

Post by TheGZeus » Tue Sep 22, 2009 10:32 am

Just to note, CLISP does compile. It just compiles to bytecode. You can even compile a complete binary image.

abc
Posts: 4
Joined: Fri Sep 18, 2009 7:09 am

Re: Newbie question: Interpreted CL

Post by abc » Tue Sep 22, 2009 2:57 pm

Aha.

Thanks!

findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: Newbie question: Interpreted CL

Post by findinglisp » Wed Sep 23, 2009 1:55 pm

SLIME also works fine with CLISP. From our past implementation usage poll, you can see that SBCL is far-and-away the most-used implementation. As with all other technology, this means that it tends to have the best compatibility with any other random component, but that in no-way suggests that the other implementations won't work. In fact, CLISP is my favorite Windows implementation currently (though I'm starting to look at CCL for that).
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

Post Reply