Guido Carballo-Guerrero | 1 Dec 2009 03:22

Clojure and NewLisp

I don't know if this is the best place to ask this, but... Can anyone tell me what is your opinion on Clojure and
NewLisp. They both are suppose to be Lisp dialects.

I like SBCL, and this is what I prefer to use, but it's very difficult to create gui's, and apparently these
two options make this easy. If someone can comment on it I'll appreciated.

Guido

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Brian Mastenbrook | 1 Dec 2009 03:35

Re: Clojure and NewLisp

On Nov 30, 2009, at 8:22 PM, Guido Carballo-Guerrero wrote:

> I don't know if this is the best place to ask this, but... Can anyone tell me what is your opinion on Clojure
and NewLisp. They both are suppose to be Lisp dialects.
> 
> I like SBCL, and this is what I prefer to use, but it's very difficult to create gui's, and apparently these
two options make this easy. If someone can comment on it I'll appreciated.

A venue like comp.lang.lisp or lispforum might be more appropriate for this question.

You might also ask what tools people have used to build GUI applications with SBCL. I've been meaning to try
out CommonQt for a while ( http://common-lisp.net/project/commonqt/ ), and there are other toolkits
and libraries available.

--
Brian Mastenbrook
brian <at> mastenbrook.net
http://brian.mastenbrook.net/

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Tamas K Papp | 1 Dec 2009 10:35
Picon

Re: Clojure and NewLisp

On Mon, 30 Nov 2009 20:22:17 -0600, Guido Carballo-Guerrero wrote:

> I don't know if this is the best place to ask this, but... Can anyone
> tell me what is your opinion on Clojure and NewLisp. They both are
> suppose to be Lisp dialects.

You should search the archives of c.l.l, both have been discussed many
times.

> I like SBCL, and this is what I prefer to use,

Good, that's a sound decision :-)

> but it's very difficult to create gui's, and apparently these two
> options make this easy. If someone can comment on it I'll
> appreciated.  Guido

I have used LTK in the past with SBCL.  Fairly easy to use, but looks
like something from the 1980s on my setup.  But it looks like we can
use Tile now, see this thread:

http://groups.google.com/group/comp.lang.lisp/browse_thread/
thread/30e1be3a6c7d5b8b/13594e3c3816d69b

I haven't got around to trying SBCL+ltk+Tile yet though.

HTH,

Tamas

(Continue reading)

Michael Raskin | 1 Dec 2009 10:50
Picon
Favicon

Re: Clojure and NewLisp

Guido Carballo-Guerrero wrote:
> I like SBCL, and this is what I prefer to use, but it's very difficult to create gui's, 

It looks like cells-gtk can be useful for you.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Michael Pheasant | 2 Dec 2009 15:31
Picon

how to strace sbcl?

Hi

I'd like to strace my sbcl core (SBCL 1.0.30, Fedora Core 11, Linux
2.6.30.9-96.fc11.i686.PAE), but cant, as sbcl gives errors like:

 CORRUPTION WARNING in SBCL pid 5833(tid 3086854928):

I would like to trace system calls sbcl is doing. In particular i want
to see the IO calls and check whether the IO is being buffered or is
byte-by-byte.

I'm not sure if there is any other way to do this. Using the sb-sprof
& sb-profile facilities I do not seem to be able to get detailed
enough information about the underlying system calls.

Cheers

Mike

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Gábor Melis | 2 Dec 2009 16:48
Picon

Re: how to strace sbcl?

On Wednesday 02 December 2009, Michael Pheasant wrote:
> Hi
> 
> I'd like to strace my sbcl core (SBCL 1.0.30, Fedora Core 11, Linux
> 2.6.30.9-96.fc11.i686.PAE), but cant, as sbcl gives errors like:
> 
>  CORRUPTION WARNING in SBCL pid 5833(tid 3086854928):
> 
> I would like to trace system calls sbcl is doing. In particular i
>  want to see the IO calls and check whether the IO is being buffered
>  or is byte-by-byte.
> 
> I'm not sure if there is any other way to do this. Using the sb-sprof
> & sb-profile facilities I do not seem to be able to get detailed
> enough information about the underlying system calls.
> 
> Cheers
> 
> Mike

Hello Mike

Could you be more specific about what happens and how to reproduce it; I 
can start a recent sbcl with strace.

See "1.3.2 Signal Related Bugs" of 
http://sbcl.sourceforge.net/manual/Reporting-Bugs.html

regards,
Gabor
(Continue reading)

Leslie P. Polzer | 5 Dec 2009 11:02
Picon

Re: Failed contribs: asdf-install, sb-posix


Nikodemus Siivola wrote:
> 2009/10/5 Michael Bykov <m.bykov <at> gmail.com>:
>
>> debugger invoked on a UNDEFINED-ALIEN-ERROR in thread #<THREAD
>> "initial thread" RUNNING {A8C4049}>:
>>  Undefined alien: "waitpid"
>>
>> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>>
>> restarts (invokable by number or by possibly-abbreviated name):
>>  0: [ABORT] Exit debugger, returning to top level.
>>
>> (FOREIGN-SYMBOL-ADDRESS "waitpid" #<unused argument>)
>> 0]
>
> That's strange.
>
> Can you try adding "waitpid" to tools-for-build/ldso-stubs.lisp (eg.
> between "wait3" and "write"), and rebuilding. (Run clean.sh before
> rebuilding.)

Someone has posted an analysis of this here:

  http://bbs.archlinux.org/viewtopic.php?pid=667471#p667471

I don't know why it only fails on x86_64, but it's worrying that
the original error gets obscured, leading to the slightly unrelated
error about a missing waitpid().

(Continue reading)

Michael Pheasant | 7 Dec 2009 07:24
Picon

Re: how to strace sbcl?

Hi again

Ok, to reproduce the problem, running a lisp prog under strace fails
but works ok if you dont run it under strace, make a 4.5Mb test file
of 400,000 lines:

 $ sbcl --noinform --eval '(progn (dotimes (x 400000) (format t "line
~a~%" x)) (quit))' >test-file

Then make a script 'test.lisp' with these contents:-
================
(let ((i 0) (len 0))
  (with-open-file (s #p"test-file")
    (do ((line (read-line s nil)
               (read-line s nil)))
        ((null line))
      (incf i)
      (incf len (1+ (length line)))
      (format t "i=~a l=~a~%" i len))))
================

Then run it as a script, it will read through the whole file, all OK:

 $ sbcl --script test.lisp

..outputs lots of lines, last one is..
i=400000 l=4688890

*) Now run the same command under strace (output to /dev/null, we dont
care) you get the corruption warning:-
(Continue reading)

Tobias C. Rittweiler | 10 Dec 2009 15:17
Picon

sb-posix:dirent-name -> weird types warning


Compiling

  (defun foo (dirent)
    (char= #\. (char (sb-posix:dirent-name dirent) 0)))

results in the following

; file: /tmp/fileO0EMc4
; in: DEFUN FOO
;     (SB-POSIX:DIRENT-NAME DIRENT)
; --> BLOCK CAST SB-ALIEN-INTERNALS:%CAST SB-ALIEN-INTERNALS:NATURALIZE IF 
; ==>
;   NIL
; 
; caught WARNING:
;   The binding of ARRAY is not a STRING:
;     NIL
;   See also:
;     The SBCL Manual, Node "Handling of Types"

; ==>
;   (SB-ALIEN::C-STRING-TO-STRING ALIEN
;                                 (SB-ALIEN::C-STRING-EXTERNAL-FORMAT
;                                  #<SB-ALIEN::ALIEN-C-STRING-TYPE (C-STRING
;                                                                   :EXTERNAL-FORMAT
;                                                                   :DEFAULT
;                                                                   :ELEMENT-TYPE
;                                                                   CHARACTER)>)
;                                 (SB-ALIEN::ALIEN-C-STRING-TYPE-ELEMENT-TYPE
(Continue reading)

Christophe Rhodes | 13 Dec 2009 21:02
Favicon

[CfP] European Lisp Symposium 2010

Hi,

It may be the eve of the SBCL10 event, but the bandwagon rolls on and I
have to get the next one ready.  Please do consider submitting something
to this; as Programme Chair, I can't myself keep the SBCL presence alive
this year. :-)

                     3rd European Lisp Symposium
                     ===========================
               <http://www.european-lisp-symposium.org>

May 6-7, 2010, Fundação Calouste Gulbenkian, Lisbon, Portugal

Important Dates 
~~~~~~~~~~~~~~~~
  + Submission Deadline: *January 29, 2010*
  + Author Notification: March 1, 2010
  + Final Paper Due: March 26, 2010
  + Symposium: *May 6-7, 2010*

  We hope, as in previous years, to invite authors of accepted
  research contributions to submit an extended version of their papers
  to a special issue of the Journal of Universal Computer Science
  (J.UCS).

Scope 
~~~~~~
  The purpose of the European Lisp Symposium is to provide a forum
  for the discussion and dissemination of all aspects of design,
  implementation and application of any of the Lisp dialects.  We
(Continue reading)


Gmane