Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
are commercial Lisps faster than SBCL?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mark Tarver  
View profile  
 More options Dec 21 2008, 1:33 pm
Newsgroups: comp.lang.lisp
From: Mark Tarver <dr.mtar...@ukonline.co.uk>
Date: Sun, 21 Dec 2008 10:33:32 -0800 (PST)
Local: Sun, Dec 21 2008 1:33 pm
Subject: are commercial Lisps faster than SBCL?
I'm looking at performance shootouts http://shootout.alioth.debian.org/
based on SBCL and wondering if programming in Allegro or LispWorks
would make any difference.

Mark


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Thingstad  
View profile  
 More options Dec 21 2008, 3:05 pm
Newsgroups: comp.lang.lisp
From: "John Thingstad" <jpth...@online.no>
Date: Sun, 21 Dec 2008 21:05:04 +0100
Local: Sun, Dec 21 2008 3:05 pm
Subject: Re: are commercial Lisps faster than SBCL?
På Sun, 21 Dec 2008 19:33:32 +0100, skrev Mark Tarver  
<dr.mtar...@ukonline.co.uk>:

> I'm looking at performance shootouts http://shootout.alioth.debian.org/
> based on SBCL and wondering if programming in Allegro or LispWorks
> would make any difference.

> Mark

 From my experience sometimes. Numerical performance in SBCL is pretty  
good. SBCL's type inference is generally better than for other compilers  
so you need to be more careful to declare types under LispWorks, (and  
perhaps ACL). As for CLOS, LispWorks and ACL seem a bit faster. So  
huchentoot tends to run faster under LispWorks for instance. The Achilles  
heel of Lisp seems to be that the I/O is rather slow compared to C and  
even Java. ACL addresses this most directly and AllegroServe should give  
considrably better performance under ACL, though I haven't tested this.

I take it you want it for Qi in which case why don't you just get the free  
edition (of LispWorks and/or ACL) and compile it and see if it makes a  
difference?
(If the memory constraints are too severe request a time limited full  
verion.)
There are many other variables as well like the processor type. Core duo  
seems to give much better performance for LispWorks 64 bit version than a  
similar AMD processor. (According to Espen Vestre.) You might be intested  
to know that LispWorks plans to release a new version that can run  
multiple processors in paralell soon.

Wether these differences matter to you I don't know.

--------------
John Thingstad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Tarver  
View profile  
 More options Dec 21 2008, 3:45 pm
Newsgroups: comp.lang.lisp
From: Mark Tarver <dr.mtar...@ukonline.co.uk>
Date: Sun, 21 Dec 2008 12:45:34 -0800 (PST)
Local: Sun, Dec 21 2008 3:45 pm
Subject: Re: are commercial Lisps faster than SBCL?
On 21 Dec, 20:05, "John Thingstad" <jpth...@online.no> wrote:

> På Sun, 21 Dec 2008 19:33:32 +0100, skrev Mark Tarver  
> <dr.mtar...@ukonline.co.uk>:

> > I'm looking at performance shootoutshttp://shootout.alioth.debian.org/
> > based on SBCL and wondering if programming in Allegro or LispWorks
> > would make any difference.

> > Mark

>  From my experience sometimes. Numerical performance in SBCL is pretty  
> good.

Probably because SBCL is a fork from CMUCL and this was known for fast
number crunching.

Actually, I've got free commercial distros of Allegro & LispWorks for
the purpose of porting Qi.  I only use them for porting tests and
nothing else.  I hadn't noticed a huge gap between SBCL and these
Lisps but then again I've not been looking.  My question was triggered
by a post on qilang concerning Lisp performance.

Is the LispWorks parallel version implicit or explicit parallelism
i.e. does the user just assume the Lisp will take care of the
parallelism or does he have to program this into his source code?

Mark


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Thingstad  
View profile  
 More options Dec 21 2008, 3:56 pm
Newsgroups: comp.lang.lisp
From: "John Thingstad" <jpth...@online.no>
Date: Sun, 21 Dec 2008 21:56:57 +0100
Local: Sun, Dec 21 2008 3:56 pm
Subject: Re: are commercial Lisps faster than SBCL?
På Sun, 21 Dec 2008 21:45:34 +0100, skrev Mark Tarver  
<dr.mtar...@ukonline.co.uk>:

> Actually, I've got free commercial distros of Allegro & LispWorks for
> the purpose of porting Qi.  I only use them for porting tests and
> nothing else.  I hadn't noticed a huge gap between SBCL and these
> Lisps but then again I've not been looking.  My question was triggered
> by a post on qilang concerning Lisp performance.

> Is the LispWorks parallel version implicit or explicit parallelism
> i.e. does the user just assume the Lisp will take care of the
> parallelism or does he have to program this into his source code?

I haven't seen the parallel version, but I assume the garbage collector  
works with multiple processors so that you can run more than one thread at  
a time. You have to explicitly create threads (OS threads) and it is these  
can can be run in parallel.

--------------
John Thingstad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dimiter malkia Stanev  
View profile  
 More options Dec 22 2008, 2:43 pm
Newsgroups: comp.lang.lisp
From: "Dimiter \"malkia\" Stanev" <mal...@mac.com>
Date: Mon, 22 Dec 2008 11:43:56 -0800
Local: Mon, Dec 22 2008 2:43 pm
Subject: Re: are commercial Lisps faster than SBCL?

Mark Tarver wrote:
> I'm looking at performance shootouts http://shootout.alioth.debian.org/
> based on SBCL and wondering if programming in Allegro or LispWorks
> would make any difference.

> Mark

FYI: Lispworks has additional declarations for the optimize declaration.
For example (declare (optimize (float 0))) - would make no checks on
floating point values, and this would produce faster code.

Same for fixnums - (declare (optimize (fixnum-safety 0)))

According to the documentation:
http://www.lispworks.com/documentation/lw50/LWUG/html/lwuser-89.htm

The levels of fixnum-safety  have the following implications:

     * 0 implies no type checking of arguments to numeric operations,
which are assumed to be fixnums. Also the result is assumed, without
checking, to not overflow - this level means single machine instructions
can be generated for most common integer operations, but risks
generating values that may confuse the garbage collector.
     * 1 implies that numeric operations do not check their argument
types (assumed fixnum), but do signal an error if the result would have
been out of range.
     * 2 implies that numeric operations signal an error if their
arguments are non-fixnum, and also check for overflow.
     * 3 (default) implies complete conformance to the semantics of
Common Lisp numbers, so that types other than integers are handled in
compiled code.

Additionally if the level of float  (really this should be called
"float-safety") is 0 then the compiler reduces allocation during float
calculations.

So the fastest, but not safe code in Lispworks would be:

(declare (optimize (speed 3) (safety 0) (debug 0)
                    (space 0) (compilation-speed 0)
                    (fixnum-safety 0) (float 0)))

More on LW page:

http://www.lispworks.com/documentation/lw50/LWUG/html/lwuser-89.htm

Allegro might also have similiar specific optimizations, and Duane
Rettig is posting quite a lot of information on comp.lang.lisp about it.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yavanna...@yahoo.com  
View profile  
 More options Dec 23 2008, 2:22 am
Newsgroups: comp.lang.lisp
From: yavanna...@yahoo.com
Date: Mon, 22 Dec 2008 23:22:07 -0800 (PST)
Local: Tues, Dec 23 2008 2:22 am
Subject: Re: are commercial Lisps faster than SBCL?
On 21 ÄÅË, 21:33, Mark Tarver <dr.mtar...@ukonline.co.uk> wrote:

> I'm looking at performance shootoutshttp://shootout.alioth.debian.org/
> based on SBCL and wondering if programming in Allegro or LispWorks
> would make any difference.

> Mark

Well, with my particular program LispWorks was 1.5 slower than SBCL,
and Corman Lisp was 7 times slower (while OpenMCL showed roughly the
same performance).

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yavanna...@yahoo.com  
View profile  
 More options Dec 23 2008, 7:11 am
Newsgroups: comp.lang.lisp
From: yavanna...@yahoo.com
Date: Tue, 23 Dec 2008 04:11:31 -0800 (PST)
Local: Tues, Dec 23 2008 7:11 am
Subject: Re: are commercial Lisps faster than SBCL?
On Dec 23, 10:22 am, yavanna...@yahoo.com wrote:

> Well, with my particular program LispWorks was 1.5 slower than SBCL,
> and Corman Lisp was 7 times slower (while OpenMCL showed roughly the
> same performance).

I meant that on 64bit FreeBSD OpenMCL and SBCL worked with roughly the
same speed.
Other comparisons (with the same program) were on CoreDuo 32bit/
Windows with SBCL (same speed as on FreeBSD 64bit/Linux CoreDuo), LW
(1.5 times longer) and Corman (7 times longer).

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Espen Vestre  
View profile  
 More options Dec 23 2008, 7:14 am
Newsgroups: comp.lang.lisp
From: Espen Vestre <es...@vestre.net>
Date: Tue, 23 Dec 2008 13:14:56 +0100
Local: Tues, Dec 23 2008 7:14 am
Subject: Re: are commercial Lisps faster than SBCL?

yavanna...@yahoo.com writes:
> I meant that on 64bit FreeBSD OpenMCL and SBCL worked with roughly the
> same speed.
> Other comparisons (with the same program) were on CoreDuo 32bit/
> Windows with SBCL (same speed as on FreeBSD 64bit/Linux CoreDuo), LW
> (1.5 times longer) and Corman (7 times longer).

LW 32-bit or 64-bit?
--
  (espen)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yavanna...@yahoo.com  
View profile  
 More options Dec 23 2008, 11:36 am
Newsgroups: comp.lang.lisp
From: yavanna...@yahoo.com
Date: Tue, 23 Dec 2008 08:36:44 -0800 (PST)
Local: Tues, Dec 23 2008 11:36 am
Subject: Re: are commercial Lisps faster than SBCL?
On 23 ÄÅË, 15:14, Espen Vestre <es...@vestre.net> wrote:

> LW 32-bit or 64-bit?

LW Personal, 32 bit.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dimiter malkia Stanev  
View profile  
 More options Dec 23 2008, 3:32 pm
Newsgroups: comp.lang.lisp
From: "Dimiter \"malkia\" Stanev" <mal...@mac.com>
Date: Tue, 23 Dec 2008 12:32:14 -0800
Local: Tues, Dec 23 2008 3:32 pm
Subject: Re: are commercial Lisps faster than SBCL?

yavanna...@yahoo.com wrote:
> On 23 ÄÅË, 15:14, Espen Vestre <es...@vestre.net> wrote:
>> LW 32-bit or 64-bit?

> LW Personal, 32 bit.

I'm finding that LW conses in certain cases, where other implementations
would not (with full optimizations, no safety, no debug, etc.), or they
would do it quicker - especially when dealing with double- or
single-float's. But you can't have it all in one basket. LW has other
strong points.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yavanna...@yahoo.com  
View profile  
 More options Dec 24 2008, 12:01 am
Newsgroups: comp.lang.lisp
From: yavanna...@yahoo.com
Date: Tue, 23 Dec 2008 21:01:35 -0800 (PST)
Local: Wed, Dec 24 2008 12:01 am
Subject: Re: are commercial Lisps faster than SBCL?
On 23 ÄÅË, 23:32, "Dimiter \"malkia\" Stanev" <mal...@mac.com> wrote:

> LW has other strong points.

Of course!

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Espen Vestre  
View profile  
 More options Dec 25 2008, 8:08 pm
Newsgroups: comp.lang.lisp
From: Espen Vestre <es...@vestre.net>
Date: Fri, 26 Dec 2008 02:08:24 +0100
Local: Thurs, Dec 25 2008 8:08 pm
Subject: Re: are commercial Lisps faster than SBCL?

yavanna...@yahoo.com writes:
> On 23 дек, 15:14, Espen Vestre <es...@vestre.net> wrote:
>> LW 32-bit or 64-bit?

> LW Personal, 32 bit.

Ah, ok. The 64-bit version is faster for some applications, but of
course YMMV.
--
  (espen)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jon Harrop  
View profile  
(2 users)  More options Jan 1, 12:31 pm
Newsgroups: comp.lang.lisp
From: Jon Harrop <j...@ffconsultancy.com>
Date: Thu, 01 Jan 2009 17:31:26 +0000
Local: Thurs, Jan 1 2009 12:31 pm
Subject: Re: are commercial Lisps faster than SBCL?

yavanna...@yahoo.com wrote:
> Well, with my particular program LispWorks was 1.5 slower than SBCL,
> and Corman Lisp was 7 times slower (while OpenMCL showed roughly the
> same performance).

Wow!

--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?u


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google