Search found 20 matches

by lnostdal
Thu Aug 20, 2009 2:52 pm
Forum: Common Lisp
Topic: need help with lispworks
Replies: 17
Views: 32574

Re: need help with lispworks

Quick question; why not work on making SBCL more portable seeing as SBCL already has a pretty decent compiler with type inference etc. going for it? * Memory usage; * Executable size: like you would do in C, an ECL executable is linked against libecl.so or ecl.dll (which is already very small) and ...
by lnostdal
Thu Aug 20, 2009 2:12 pm
Forum: Common Lisp
Topic: need help with lispworks
Replies: 17
Views: 32574

Re: need help with lispworks

CL is quite stable. Juanjo does a great job with it and is very responsive to any problems found. I am glad you got that impression :-) IMO, it's a more specialized version of CL. I really would like to understand why people do have that image of niche lisp. There are three things that I normally r...
by lnostdal
Mon Aug 17, 2009 12:45 pm
Forum: Common Lisp
Topic: Compile-time information across macros
Replies: 18
Views: 16869

Re: Compile-time information across macros

I have been pondering something similar. I don't mean to hijack your thread, but I wonder if LOAD-TIME-VALUE make sense in this context(?) edit: ..maybe not; can't dump this to fasls etc.. edit2/update: ..or maybe if i rearrange things a bit.. (sb-ext:defglobal -nth-storage- (make-hash-table)) (doti...
by lnostdal
Thu Aug 13, 2009 4:44 am
Forum: Common Lisp
Topic: Lisp and CGI or Fastcgi
Replies: 3
Views: 5889

Re: Lisp and CGI or Fastcgi

IMHO don't bother with shared hosting. It's nothing but hassle; wrong glibc version, wrong postgresql version, wrong some-other-library version, wrong apache/lighttpd/nginx/other-front-end config etc. etc.. VPS is dirt cheap and you get full root access: http://prgmr.com/xen/ ..there are many; the X...
by lnostdal
Sun Jul 19, 2009 3:42 am
Forum: Common Lisp
Topic: Experience of Learning Lisp
Replies: 52
Views: 1985106

Re: Experience of Learning Lisp

CL-USER> (defvar *foo* '((:a . 1) (:b . 2))) Please, this is well known stuff for most programmers and if not it is an useful feature to be (made) aware of. Literal data, constants and SBCL's global variables ( SB-EXT:DEFGLOBAL ) are important when things need to execute as fast as possible. Always...
by lnostdal
Mon Jul 13, 2009 9:27 am
Forum: Common Lisp
Topic: Style guide
Replies: 5
Views: 10949

Re: Style guide

CLiki has a page that talks about (name) style: http://www.cliki.net/Naming%20conventions
by lnostdal
Fri Feb 13, 2009 10:31 pm
Forum: Common Lisp
Topic: LISP Tutorial Help
Replies: 6
Views: 10760

Re: LISP Tutorial Help

this guy also posted on comp.lang.lisp, fyi: http://groups.google.com/group/comp.lang.lisp/browse_frm/thread/f13a7d2ecc19cbac or http://groups.google.com/group/comp.lang.lisp/tree/browse_frm/thread/f13a7d2ecc19cbac/57beaf397e75d170?rnum=11&_done=%2Fgroup%2Fcomp.lang.lisp%2Fbrowse_frm%2Fthread%2F...
by lnostdal
Mon Dec 01, 2008 6:54 am
Forum: Common Lisp
Topic: changing argument variables
Replies: 10
Views: 19646

Re: changing argument variables

(defun new (&optional value) (cons value nil)) (defun value-of (ptr) (car ptr)) (defun (setf value-of) (new-value ptr) (setf (car ptr) new-value)) ;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;; (defun blah (x) (setf (value-of x) 4321)) (defun test () (let ((my-ptr (new 1234))) (blah my-ptr) (value...
by lnostdal
Fri Oct 31, 2008 12:56 am
Forum: Common Lisp
Topic: non-linear list conversion to linear
Replies: 14
Views: 30926

Re: non-linear list conversion to linear

Just use Clojure. Seriously. I wouldn't want to miss out on all the goodies in Common Lisp; CLOS, MOP etc. is awesome stuff -- and the SBCL compiler and the integration with Slime is very good. SBCL has "threading, sockets, unicode, etc.", and it also has FSet: http://common-lisp.net/proj...
by lnostdal
Thu Oct 30, 2008 9:05 am
Forum: Common Lisp
Topic: non-linear list conversion to linear
Replies: 14
Views: 30926

Re: non-linear list conversion to linear

findinglisp wrote:
VincentToups wrote:If you can't depend on it and you want to be cross-implementation, then it basically isn't supported. This is a whole other can of worms, though.
Yup. See also: threading, sockets, unicode, etc. ;) This is why we need to come up with a CLv2.
Oh, you mean SBCL? :lol: