Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
merits of Lisp vs Python
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
  Messages 1 - 25 of 1085 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
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  
(8 users)  More options Dec 8 2006, 6:07 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Mark Tarver" <dr.mtar...@ukonline.co.uk>
Date: 8 Dec 2006 03:07:09 -0800
Local: Fri, Dec 8 2006 6:07 am
Subject: merits of Lisp vs Python
How do you compare Python to Lisp?  What specific advantages do you
think that one has over the other?

Note I'm not a Python person and I have no axes to grind here.  This is
just a question for my general education.

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.
Mathias Panzenboeck  
View profile  
 More options Dec 8 2006, 6:45 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Mathias Panzenboeck <e0427...@student.tuwien.ac.at>
Date: Fri, 08 Dec 2006 12:45:52 +0100
Local: Fri, Dec 8 2006 6:45 am
Subject: Re: merits of Lisp vs Python

Mark Tarver wrote:
> How do you compare Python to Lisp?  What specific advantages do you
> think that one has over the other?

> Note I'm not a Python person and I have no axes to grind here.  This is
> just a question for my general education.

> Mark

I do not know much about Lisp. What I know is:
Python is a imperative, object oriented dynamic language with duck typing, List is a declarative,
functional dynamic language -> those two languages have different scopes.

For more Information:
http://en.wikipedia.org/wiki/Functional_programming
http://en.wikipedia.org/wiki/Object-oriented_programming
http://en.wikipedia.org/wiki/Dynamic_programming_language
http://en.wikipedia.org/wiki/Lisp_programming_language
http://en.wikipedia.org/wiki/Python_%28programming_language%29


    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.
Paul Rubin  
View profile  
(1 user)  More options Dec 8 2006, 7:08 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Paul Rubin <http://phr...@NOSPAM.invalid>
Date: 08 Dec 2006 04:08:24 -0800
Local: Fri, Dec 8 2006 7:08 am
Subject: Re: merits of Lisp vs Python

"Mark Tarver" <dr.mtar...@ukonline.co.uk> writes:
> How do you compare Python to Lisp?  What specific advantages do you
> think that one has over the other?

   <http://google.com/search?q=python+lisp&btnI=I'm+feeling+lucky>

    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  
(4 users)  More options Dec 8 2006, 7:57 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Mark Tarver" <dr.mtar...@ukonline.co.uk>
Date: 8 Dec 2006 04:57:35 -0800
Local: Fri, Dec 8 2006 7:57 am
Subject: Re: merits of Lisp vs Python

Paul Rubin wrote:
> "Mark Tarver" <dr.mtar...@ukonline.co.uk> writes:
> > How do you compare Python to Lisp?  What specific advantages do you
> > think that one has over the other?

>    <http://google.com/search?q=python+lisp&btnI=I'm+feeling+lucky>

Thanks;  a quick read of your reference to Norvig's analysis

http://norvig.com/python-lisp.html

seems to show that Python is a cut down (no macros) version of Lisp
with a worse performance.  The only substantial advantage I can see is
that GUI, and Web libraries are standard.  This confirms my suspicion
that Lisp is losing out to newbies because of its
lack of standard support for the things many people want to do.

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.
Richard Brodie  
View profile  
(1 user)  More options Dec 8 2006, 9:08 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Richard Brodie" <R.Bro...@rl.ac.uk>
Date: Fri, 8 Dec 2006 14:08:09 -0000
Local: Fri, Dec 8 2006 9:08 am
Subject: Re: merits of Lisp vs Python

"Mark Tarver" <dr.mtar...@ukonline.co.uk> wrote in message

news:1165582654.974945.173700@79g2000cws.googlegroups.com...

> seems to show that Python is a cut down (no macros) version of Lisp
> with a worse performance.

Performance claims are always controversial. So, Python is much slower
doing array multiplication, when you hand roll it, instead of using the
standard numerical packages available.

I see that the effbot has already responded the first part.


    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.
Istvan Albert  
View profile  
(5 users)  More options Dec 8 2006, 9:11 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Istvan Albert" <istvan.alb...@gmail.com>
Date: 8 Dec 2006 06:11:20 -0800
Local: Fri, Dec 8 2006 9:11 am
Subject: Re: merits of Lisp vs Python

Mark Tarver wrote:
> seems to show that Python is a cut down (no macros) version of Lisp
> with a worse performance.

or maybe it shows that Lisp is an obfuscated version of Python with
lots of parentheses, backward logic, and complicated constructs that
run faster.

i.


    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.
Harry George  
View profile  
(4 users)  More options Dec 8 2006, 9:14 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Harry George <harry.g.geo...@boeing.com>
Date: Fri, 8 Dec 2006 14:14:20 GMT
Local: Fri, Dec 8 2006 9:14 am
Subject: Re: merits of Lisp vs Python

It is not just a newbie thing.  Even people who are reasonably fluent
in Lisp use Python for many tasks, and some make python the default
with Lisp as a special case.  It would probably be fair to say that
the more you know about a variety of languages, the more you
appreciate Python.

--
Harry George
PLM Engineering Architecture


    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.
Alex Mizrahi  
View profile  
 More options Dec 8 2006, 9:43 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Alex Mizrahi" <udode...@users.sourceforge.net>
Date: Fri, 8 Dec 2006 16:43:23 +0200
Local: Fri, Dec 8 2006 9:43 am
Subject: Re: merits of Lisp vs Python
(message (Hello 'Richard)
(you :wrote  :on '(Fri, 8 Dec 2006 14:08:09 -0000))
(

 ??>> seems to show that Python is a cut down (no macros) version of Lisp
 ??>> with a worse performance.

 RB> Performance claims are always controversial. So, Python is much slower
 RB> doing array multiplication, when you hand roll it, instead of using the
 RB> standard numerical packages available.

heh, do you have "standard numeric packages" for everything? maybe then
we'll make standard programs for everything -- that will obsolete "slow"
"custom scripts" and we'll just use shell to select what program we want to
run?
certainly, it's possible to write code in C and use FFI to access it, but
it's not suitable for rapid prototyping/fast development, when requirements
may change, or you're just experimenting with different methods.

it's interesting than as of bare "interpreter overhead", python is aprox
order of magnitude (10 times) slower than lisp interpreters. it's also
interesting, that python, perl, php and ruby show very similar peformance,
while lisp and scheme implementations show large improvements -- it makes me
think that there's something "pathalogically scripting" in their
specifications (maybe some obligatory use of strings for method dispatch?).

note that i've mentioned "lisp interpreters" above. as for lisp _compilers_,
they run lots faster than lisp interpreters.

please check http://shootout.alioth.debian.org/
to compare Python to Lisp SBCL. lisp is faster more then 10 times in many
benchmarks, and even more than 100 times faster in two benchmarks.
unfortunately there's no lisp interpreters (CLISP) in the benchmark.

)
(With-best-regards '(Alex Mizrahi) :aka 'killer_storm)
"People who lust for the Feel of keys on their fingertips (c) Inity")


    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.
Alex Mizrahi  
View profile  
(1 user)  More options Dec 8 2006, 9:50 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Alex Mizrahi" <udode...@users.sourceforge.net>
Date: Fri, 8 Dec 2006 16:50:01 +0200
Local: Fri, Dec 8 2006 9:50 am
Subject: Re: merits of Lisp vs Python
(message (Hello 'Istvan)
(you :wrote  :on '(8 Dec 2006 06:11:20 -0800))
(

 ??>> seems to show that Python is a cut down (no macros) version of Lisp
 ??>> with a worse performance.

 IA> or maybe it shows that Lisp is an obfuscated version of Python

hell no, lisp's syntax is much easier than python's since it's homogenous
(and certainly lisp was invented much 30 years before Python, so that's
Python uses Lisp features)

 IA> with lots of parentheses,

that make logic more explicit

 IA>  backward logic,

??

 IA>  and complicated constructs that run faster.

no, there are no complicted constructs -- just it's designed with 30-year
history in mind, not like "let's make another simple scripting language".

)
(With-best-regards '(Alex Mizrahi) :aka 'killer_storm)
"People who lust for the Feel of keys on their fingertips (c) Inity")


    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.
Ken Tilton  
View profile  
(6 users)  More options Dec 8 2006, 9:55 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Ken Tilton <kentil...@gmail.com>
Date: Fri, 08 Dec 2006 09:55:55 -0500
Local: Fri, Dec 8 2006 9:55 am
Subject: Re: merits of Lisp vs Python

Mark Tarver wrote:
> How do you compare Python to Lisp?

Lisp programmers are smarter and better looking. And better programmers.
Not sure if that is what you were after, though.

> What specific advantages do you
> think that one has over the other?

http://www.googlefight.com/index.php?lang=en_GB&word1=parentheses&wor...

Ouch.

hth,kt

--
Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm

"Well, I've wrestled with reality for thirty-five
years, Doctor, and I'm happy to state I finally
won out over it." -- Elwood P. Dowd

"I'll say I'm losing my grip, and it feels terrific."
    -- Smiling husband to scowling wife, New Yorker cartoon


    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.
Wade Humeniuk  
View profile  
(1 user)  More options Dec 8 2006, 10:12 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Wade Humeniuk <whumeniu+anti+s...@telus.net>
Date: Fri, 08 Dec 2006 15:12:37 GMT
Local: Fri, Dec 8 2006 10:12 am
Subject: Re: merits of Lisp vs Python

Mark Tarver wrote:
> How do you compare Python to Lisp?  What specific advantages do you
> think that one has over the other?

Since the late 1950's Lisp has participated in the development of
modern (present day) programming practises.  It has shaped and been
shaped by the minds of just not programmers, but people involved
in dealing with the larger impacts and possibilities.
Its been there, is here, and will continue to be there in the future.
Lisp is a human construct that is a force to be reckoned with.  Its
construction reflects something very deep and fundamental about
computing.  So, it depends on what you want.

What do you want?

W


    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.
Richard Brodie  
View profile  
(5 users)  More options Dec 8 2006, 10:29 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Richard Brodie" <R.Bro...@rl.ac.uk>
Date: Fri, 8 Dec 2006 15:29:15 -0000
Local: Fri, Dec 8 2006 10:29 am
Subject: Re: merits of Lisp vs Python

"Alex Mizrahi" <udode...@users.sourceforge.net> wrote in message

news:45797a0c$0$49204$14726298@news.sunsite.dk...

> heh, do you have "standard numeric packages" for everything? maybe then we'll make
> standard programs for everything -- that will obsolete "slow" "custom scripts" and we'll
> just use shell to select what program we want to run?

No, I was observing that, faced with a matrix multiplication problem, most
sensible Python developers would do "apt-get install python-numeric" or
equivalent. Trying to do it in pure Python would be the wrong tool for the
job. If you think that's a weakness of Python compared to Lisp, then so
be 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.
Rob Thorpe  
View profile  
(1 user)  More options Dec 8 2006, 10:54 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Rob Thorpe" <rtho...@realworldtech.com>
Date: 8 Dec 2006 07:54:43 -0800
Local: Fri, Dec 8 2006 10:54 am
Subject: Re: merits of Lisp vs Python

Mathias Panzenboeck wrote:
> Mark Tarver wrote:
> > How do you compare Python to Lisp?  What specific advantages do you
> > think that one has over the other?

> > Note I'm not a Python person and I have no axes to grind here.  This is
> > just a question for my general education.

> > Mark

> I do not know much about Lisp. What I know is:
> Python is a imperative, object oriented dynamic language with duck typing,

Yes, but Python also supports the functional style to some extent.

> List is a declarative,
> functional dynamic language

Lisp is only a functional language in that it support both functional
and imperative programming styles.  Duck typing is almost identical to
latent typing in Lisp.
And, Common Lisp at least is object orientated.

> -> those two languages have different scopes.

Their scope is actually very similar.  Learn about lisp and you will
soon discover their similarity.

    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.
Kay Schluehr  
View profile  
(1 user)  More options Dec 8 2006, 11:03 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Kay Schluehr" <kay.schlu...@gmx.net>
Date: 8 Dec 2006 08:03:18 -0800
Local: Fri, Dec 8 2006 11:03 am
Subject: Re: merits of Lisp vs Python
Alex Mizrahi schrieb:

> it's also
> interesting, that python, perl, php and ruby show very similar peformance,
> while lisp and scheme implementations show large improvements -- it makes me
> think that there's something "pathalogically scripting" in their
> specifications (maybe some obligatory use of strings for method dispatch?).

"The most unusual features of the SBCL compiler (which is very similar
to the original CMUCL compiler, also known as Python) is its unusually
sophisticated understanding of the Common Lisp type system and its
unusually conservative approach to the implementation of type
declarations.

These two features reward the use of type declarations throughout
development, even when high performance is not a concern. Also, as
discussed in the chapter on performance (see Efficiency), the use of
appropriate type declarations can be very important for performance as
well."

http://www.sbcl.org/manual/Handling-of-Types.html#Handling-of-Types

If you'd read the docs of the tools you admire you might find the
answers yourself.


    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.
Carl Banks  
View profile  
 More options Dec 8 2006, 11:16 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Carl Banks" <pavlovevide...@gmail.com>
Date: 8 Dec 2006 08:16:33 -0800
Local: Fri, Dec 8 2006 11:16 am
Subject: Re: merits of Lisp vs Python

Mark Tarver wrote:
> This confirms my suspicion
> that Lisp is losing out to newbies because of its
> lack of standard support for the things many people want to do.

Whoa there, that's a pretty big logical jump there, don't you think?

Consumer choice can never be boiled down to one thing; there are so
many factors.  No one knows the whole answer.  I certainly don't.  (If
I did, I'd be courteously turning down the Nobel Prize for Economics on
account of being so rich I really didn't need the extra pocket change.)

I have no doubt that what you say is a contributing factor, but if I
had to guess the main reason why Lisp is losing out to newbies, I'd say
it's first impressions.  When newbies see Python they say, "Ok, I can
kind of follow that, it doesn't look too hard to learn."  When they see
Lisp they say, "WTF IS THAT???"

It's kind of sad, in a way, that a superficiality would be so crucial.
(Not that I think outward appearance is all superficial--I think humans
have evolved and/or learned to regard as beautiful that which minimizes
effort--but it's not the whole story and not basis for a whole
judgment.)

Carl Banks


    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.
hankhero  
View profile  
 More options Dec 8 2006, 11:17 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "hankhero" <henrik.hje...@gmail.com>
Date: 8 Dec 2006 08:17:01 -0800
Local: Fri, Dec 8 2006 11:17 am
Subject: Re: merits of Lisp vs Python
One overlooked advantage for Lisp over Python is a better development
environment, for me that means Slime for Lisp. For Python I have
several years of experience with IDLE and the win32 Ide, and Slime is
the winner. Press a key and the function you are editing is recompiled
and loaded into memory. The crossreference and the object inspector is
very nice. How about fuzzy-complete, I only have to write de-me and
press tab, and I get define-method-combination.
Slime coupled with the paredit structured editing mode, which lets you
edit Lisp code as list structure rather than characters, is a dream.

Pythons advantages are:

Faster startup-time which makes it a good scripting language.

More platforms, there is no Common Lisp on Nokia phones.

Some clever details, like using minus to index vectors from the right.
(aref "hello" -1) gives an error on Lisp, but the character o on
Python.

Another detail I like is that you can choose how to quote strings, in
Python you can write three double-quotes to start a string that can
include anything, quotes, doublequotes and newlines.
You can use double-quote if you want to embed single-quotes "john's" or
single-quote if you want to embed double-quotes '<id="2">'.

Talking about Lisps advantages will take me too long.

/hankhero, a switcher.


    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.
Bjoern Schliessmann  
View profile  
 More options Dec 8 2006, 11:31 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Bjoern Schliessmann <usenet-mail-0306.20.chr0n...@spamgourmet.com>
Date: Fri, 08 Dec 2006 17:31:08 +0100
Local: Fri, Dec 8 2006 11:31 am
Subject: Re: merits of Lisp vs Python

Alex Mizrahi wrote:
> hell no, lisp's syntax is much easier than python's since it's
> homogenous

Can you give an example? I cannot imagine how homogenity always
results in easiness.

> (and certainly lisp was invented much 30 years before
> Python, so that's Python uses Lisp features)

I think you acknowledged that the syntax is different and not
borrowed?

[many parentheses]

> that make logic more explicit

Can you give an example?

Regards,

Björn

Xpost cll,clp

--
BOFH excuse #166:

/pub/lunch


    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.
George Sakkis  
View profile  
(2 users)  More options Dec 8 2006, 11:33 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "George Sakkis" <george.sak...@gmail.com>
Date: 8 Dec 2006 08:33:32 -0800
Local: Fri, Dec 8 2006 11:33 am
Subject: Re: merits of Lisp vs Python

Alex Mizrahi wrote:
> (message (Hello 'Istvan)
> (you :wrote  :on '(8 Dec 2006 06:11:20 -0800))
> (

>  ??>> seems to show that Python is a cut down (no macros) version of Lisp
>  ??>> with a worse performance.

>  IA> or maybe it shows that Lisp is an obfuscated version of Python

> hell no, lisp's syntax is much easier than python's since it's homogenous

It sure is easier... if you're a compiler rather than a human. Also a
lightbulb is much easier understood as a bunch of homogeneous elemental
particles.

George


    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.
André Thieme  
View profile  
(1 user)  More options Dec 8 2006, 11:36 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: André Thieme <address.good.until.2006.dec...@justmail.de>
Date: Fri, 08 Dec 2006 17:36:14 +0100
Local: Fri, Dec 8 2006 11:36 am
Subject: Re: merits of Lisp vs Python
hankhero schrieb:

> Some clever details, like using minus to index vectors from the right.
> (aref "hello" -1) gives an error on Lisp, but the character o on Python.

It would not be difficult to add this feature to Lisp.

> Another detail I like is that you can choose how to quote strings, in
> Python you can write three double-quotes to start a string that can
> include anything, quotes, doublequotes and newlines.
> You can use double-quote if you want to embed single-quotes "john's" or
> single-quote if you want to embed double-quotes '<id="2">'.

You could add a reader macro in Lisp that allows you to do the same.
At the moment I would say that one could pretty much add most Python
features to Lisp. Be it slicing, list comprehension, or, if one wants,
Pythons object system.

On the other hand can I see difficulties in adding macros to Python,
or inventing a new object system, or adding new keywords without
changing the sources of Python itself.

André
--


    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.
Petter Gustad  
View profile  
 More options Dec 8 2006, 1:48 pm
Newsgroups: comp.lang.lisp, comp.lang.python
From: Petter Gustad <newsmailco...@gustad.com>
Date: 08 Dec 2006 19:48:13 +0100
Local: Fri, Dec 8 2006 1:48 pm
Subject: Re: merits of Lisp vs Python

Bjoern Schliessmann <usenet-mail-0306.20.chr0n...@spamgourmet.com> writes:
> Can you give an example? I cannot imagine how homogenity always
> results in easiness.

CL-USER> (+ 1 2 3 4 5 6 7 8 9 10)
55

CL-USER> (< 1 2 3 4 5 6 7 8 9 10)
T
CL-USER> (< 1 2 3 4 5 6 7 8 9 10 9)
NIL

Petter
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


    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.
Bill Atkins  
View profile  
 More options Dec 8 2006, 11:44 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Bill Atkins <atk...@rpi.edu>
Date: Fri, 08 Dec 2006 11:44:23 -0500
Local: Fri, Dec 8 2006 11:44 am
Subject: Re: merits of Lisp vs Python

Bjoern Schliessmann <usenet-mail-0306.20.chr0n...@spamgourmet.com> writes:
> I think you acknowledged that the syntax is different and not
> borrowed?

Um, so does that mean that Python couldn't have borrowed other
features?

    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.
Bill Atkins  
View profile  
 More options Dec 8 2006, 11:47 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: Bill Atkins <atk...@rpi.edu>
Date: Fri, 08 Dec 2006 11:47:58 -0500
Local: Fri, Dec 8 2006 11:47 am
Subject: Re: merits of Lisp vs Python

"Mark Tarver" <dr.mtar...@ukonline.co.uk> writes:
> How do you compare Python to Lisp?  What specific advantages do you
> think that one has over the other?

> Note I'm not a Python person and I have no axes to grind here.  This is
> just a question for my general education.

> Mark

What was the reasoning behind cross-posting this to c.l.p and c.l.l?
This type of question inevitably leads to controversy.

    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.
George Sakkis  
View profile  
 More options Dec 8 2006, 11:50 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "George Sakkis" <george.sak...@gmail.com>
Date: 8 Dec 2006 08:50:41 -0800
Local: Fri, Dec 8 2006 11:50 am
Subject: Re: merits of Lisp vs Python

André Thieme wrote:
> On the other hand can I see difficulties in adding macros to Python,
> or inventing a new object system, or adding new keywords without
> changing the sources of Python itself.

Actually, an even bigger difficulty is the rejection of programmable
syntax by Guido, both for the near and distant future:

"Programmable syntax is not in Python's future -- or at least it's not
for Python 3000. The problem IMO is that everybody will abuse it to
define their own language. And the problem with that is that it will
fracture the Python community because nobody can read each other's code
any more."

http://mail.python.org/pipermail/python-3000/2006-April/000286.html.

George


    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.
Alex Mizrahi  
View profile  
 More options Dec 8 2006, 11:52 am
Newsgroups: comp.lang.lisp, comp.lang.python
From: "Alex Mizrahi" <udode...@users.sourceforge.net>
Date: Fri, 8 Dec 2006 18:52:15 +0200
Local: Fri, Dec 8 2006 11:52 am
Subject: Re: merits of Lisp vs Python
(message (Hello 'Kay)
(you :wrote  :on '(8 Dec 2006 08:03:18 -0800))
(

 KS> http://www.sbcl.org/manual/Handling-of-Types.html#Handling-of-Types

 KS> If you'd read the docs of the tools you admire you might find the
 KS> answers yourself.

SBCL is a COMPILER that explains everything. it's interesting why
INTERPRETER like CLISP is faster.
well, it can be type declarations as well, but maybe something other too..

for example, in languages like Python, PHP and JavaScript, as i understand,
by semantics of the language interpreter MUST use dict to call objects
method -- at any time it can be changed, for any object instance. i'm not
sure whether it has to dynamically resolve package's methods doing lookup in
packages dict.

however, in Common Lisp object methods are dispatched on object types, that
is a special language entity, so as long as new types are not introduced,
interpreter can optimize calls how it wants to. the difference is that while
it's still dynamic, dispatch over types are more controlled/optimizable than
dispatch using dict.
then, symbols in common-lisp package cannot be changed according to spec,
thus compiler/interpreter is safe to do optimizations it wants when sees
that symbols (if we want symbols with same names, we can make other package
with them).

then, Common Lisp standard defines what inlining is. i bet most
optimizations in dynamic languages are not possible if inlining is not
enabled -- since any symbol that is not inlined can change it's meaning in
any time.

)
(With-best-regards '(Alex Mizrahi) :aka 'killer_storm)
"People who lust for the Feel of keys on their fingertips (c) Inity")


    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.
Discussion subject changed to "*** C.L.L README/FAQ *** (Was: merits of Lisp vs Python)" by JShrager@gmail.com
JShrager@gmail.com  
View profile  
 More options Dec 8 2006, 12:03 pm
Newsgroups: comp.lang.lisp, comp.lang.python
From: "JShra...@gmail.com" <JShra...@gmail.com>
Date: 8 Dec 2006 09:03:53 -0800
Local: Fri, Dec 8 2006 12:03 pm
Subject: *** C.L.L README/FAQ *** (Was: merits of Lisp vs Python)
Sounds like it's time for:

A Beginners' Meta FAQ for comp.lang.lisp:

  http://nostoc.stanford.edu/jeff/llisp/cllfaq.html

The purpose of this page is to help those new to Lisp (aka. "newbies")
gain some background before they enter the fray of comp.lang.lisp
(c.l.l). This is not a complete Lisp FAQ! Once you have a sense of Lisp

and of how c.l.l operates you should have no trouble finding all the
additional information you need, either by your own search efforts or
by asking the community. If you have issues with any of the below
please do not send me email. Rather, post on c.l.l in the weekly thread

where this is announced (heading: "*** C.L.L README/FAQ ***").


    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.
Messages 1 - 25 of 1085   Newer >
« Back to Discussions « Newer topic     Older topic »

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