473,775 Members | 2,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Dec 8 '06
852 28723
Brian Adkins <lo************ ***@gmail.comwr ites:
With prices of dedicated servers and virtual private servers so cheap,
why would anyone get a hosting account without root access?
Because it turns you into a sysadmin instead of letting specialists
handle all the OS stuff so you can concentrate on your application.

Also, no VPS where you have to run your own httpd instance (and
usually your own database if you're using one) can possibly be as
cheap as a virtual host where you're sharing the same httpd with
thousands of other sites.
Mar 8 '07 #821
Paul Rubin wrote:
Brian Adkins <lo************ ***@gmail.comwr ites:
>With prices of dedicated servers and virtual private servers so cheap,
why would anyone get a hosting account without root access?

Because it turns you into a sysadmin instead of letting specialists
handle all the OS stuff so you can concentrate on your application.
I'm not sure what "OS stuff" you're referring to, but my interactions
with my dedicated host are quite similar to when I had a shared hosting
account (except I never have to contact the hosting company like I used
to with a shared account - it just keeps humming along).

Besides, this whole thing got started with John resurrecting the
"industrial strength" argument. I hardly think a shared hosting account
would be considered "industrial strength". If you're not willing to deal
with a dedicated server, then I don't think you're serious about
"industrial strength", right? Not to mention the fact that none of this
has anything to do with the "industrial strengthness" of the language.
>
Also, no VPS where you have to run your own httpd instance (and
usually your own database if you're using one) can possibly be as
cheap as a virtual host where you're sharing the same httpd with
thousands of other sites.
And you *want* to share the same httpd with thousands of other sites?

I can relate to what you're saying. I tried the shared hosting thing
originally, but the saying, "you get what you pay for" holds some truth
here.

Maybe y'all should change the thread to "Why don't shared hosting
companies treat Python customers better?" or something along those
lines. We seem to have drifted from "Princess Bride" quotes and the
merits of Lisp vs. Python ;)
Mar 8 '07 #822
Paul Rubin wrote:
Brian Adkins <lo************ ***@gmail.comwr ites:
>>With prices of dedicated servers and virtual private servers so cheap,
why would anyone get a hosting account without root access?

Because it turns you into a sysadmin instead of letting specialists
handle all the OS stuff so you can concentrate on your application.
Exactly. I want to outsource these headaches to someone who's
doing it for a thousand servers and has a standardized "just works"
configuration that's Python-friendly. It's inefficient to work
through all these issues for a single server. I have better things
to do with my time.

When starting out with this project, I'd made the assumption that
Python was a stable, working, well-supported technology, like Perl
hosting. It isn't.

It's really amazing how stable Perl hosting is. I have a site,
"downside.c om", that's been running a Perl application since 2000,
with essentially no attention since 2002. It's been migrated to new
servers twice by the hosting provider, without my having had to change
anything. Or even do anything. It's talking to a MySQL database,
going out and retrieving files from the SEC, parsing complex documents,
gettting a feed from NASDAQ, responding to queries, and doing
quite a bit of work. When developing that, I had no serious problems with Perl.

Python, on the other hand, is uphill all the way. Constant trouble
with version issues, especially with C components called from Python.
MySQLdb, M2Crypto, SSL - they all have platform/version
incompatibility problems. I just spent three days making M2Crypto
work on a new Linux server with a different Red Hat version.
Neither Python's packaging tools nor the platform's packaging
tools deal adequately with these issues.

The language is fine. It's those weakly-supported packages out
there in the cold that are the problem. (I definitely agree with
Guido that SWIG is a bad idea. I've been combing through the 24,000
lines of C generated by SWIG for M2Crypto, figuring out the compile
errors and what caused them. This is neither fun nor desirable.)

I get the feeling that Python isn't used much for general web hosting
any more. Only about two messages per month on this newsgroup mention
a hosting-related issue.

One wonders how many people try and give up.

John Nagle
Mar 8 '07 #823
John Nagle wrote:
Paul Rubin wrote:
>Brian Adkins <lo************ ***@gmail.comwr ites:
>>With prices of dedicated servers and virtual private servers so cheap,
why would anyone get a hosting account without root access?

Because it turns you into a sysadmin instead of letting specialists
handle all the OS stuff so you can concentrate on your application.

Exactly. I want to outsource these headaches to someone who's
doing it for a thousand servers and has a standardized "just works"
configuration that's Python-friendly. It's inefficient to work
through all these issues for a single server. I have better things
to do with my time.

When starting out with this project, I'd made the assumption that
Python was a stable, working, well-supported technology, like Perl
hosting. It isn't.

It's really amazing how stable Perl hosting is. I have a site,
"downside.c om", that's been running a Perl application since 2000,
with essentially no attention since 2002. It's been migrated to new
servers twice by the hosting provider, without my having had to change
anything. Or even do anything. It's talking to a MySQL database,
going out and retrieving files from the SEC, parsing complex documents,
gettting a feed from NASDAQ, responding to queries, and doing
quite a bit of work. When developing that, I had no serious problems
with Perl.
This may sound like I'm baiting you, but it's a sincere question. If
your experience with Perl was so good, why did you decide to pursue
Python? Trouble free hosting and no problems in development - sounds
like it worked out well for you.

I do think that "hosting for the masses" is geared toward PHP, Perl,
..NET, etc.

I primarily develop in Ruby on Rails (I'm here 'cause the original
thread was posted to c.l.p and c.l.l) and I admit that trying that in a
shared hosting environment will probably lead to frustration, but once I
bit the bullet and got a VPS, and later a dedicated server, it was
smooth sailing, and the performance is *so* much better.

A bit of a learning curve getting Apache, Mongrel, MySQL, etc. up and
running (which was a fixed amount of time), then it just runs. In my
case, the productivity gains over my previous environment
(Java/Spring/Hibernate) was enough to justify a little pain for long
term gains. Switching from the VPS to the dedicated server with a
different company was easy because I already had the recipe to get a
server setup.
>
Python, on the other hand, is uphill all the way. Constant trouble
with version issues, especially with C components called from Python.
MySQLdb, M2Crypto, SSL - they all have platform/version
incompatibility problems. I just spent three days making M2Crypto
work on a new Linux server with a different Red Hat version.
Neither Python's packaging tools nor the platform's packaging
tools deal adequately with these issues.
Now I understand your original post a bit better. Sounds like you've had
a fair amount of frustration.
The language is fine. It's those weakly-supported packages out
there in the cold that are the problem. (I definitely agree with
Guido that SWIG is a bad idea. I've been combing through the 24,000
lines of C generated by SWIG for M2Crypto, figuring out the compile
errors and what caused them. This is neither fun nor desirable.)

I get the feeling that Python isn't used much for general web hosting
any more. Only about two messages per month on this newsgroup mention
a hosting-related issue.
It could be that the web folks are concentrated elsewhere - maybe a
TurboGears or Django forum? Are you just using Python with CGI, or with
a web framework? If the latter, I expect the framework folks could be
quite helpful.
>
One wonders how many people try and give up.

John Nagle
Mar 8 '07 #824


John Nagle wrote:
Brian Adkins wrote:
>John Nagle wrote:

>If you want to restart a debate, please go back and reply to some
serious post in the thread - don't hijack mine for your own evil
purposes and cut out the good parts - did you even see the movie?


If you want to post jokes...
fer chrissakes, it was the OP of "means what you think it means" who was
obviously doing Princess Bride and being reasonably funny, Brian just
missed that it was deliberate.

, try ...

.....comp.lang. lisp. All the SBCL bug reports are starting to drag down
the mood of this NG.

kt

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

In this world, you must be oh so smart or oh so pleasant.
-- Elwood's Mom
Mar 8 '07 #825
Brian Adkins <lo************ ***@gmail.comwr ites:
This may sound like I'm baiting you, but it's a sincere question. If
your experience with Perl was so good, why did you decide to pursue
Python? Trouble free hosting and no problems in development - sounds
like it worked out well for you.
Er, because the Perl language itself is up there with Vogon poetry in
bletcherousness ?
Mar 8 '07 #826
Ken Tilton wrote:
John Nagle wrote:
>Brian Adkins wrote:
>>John Nagle wrote:
If you want to restart a debate, please go back and reply to some
serious post in the thread - don't hijack mine for your own evil
purposes and cut out the good parts - did you even see the movie?


If you want to post jokes...

fer chrissakes, it was the OP of "means what you think it means" who was
obviously doing Princess Bride and being reasonably funny,
Turns out John is having quite a tough time with Python web hosting (the
thread has split off to a c.l.p only fork), so I'm going to cut him some
slack. Maybe with some lovin' we can woo him over to c.l.l ;)
Brian just
missed that it was deliberate.
D'oh!
, try ...

....comp.lang.l isp. All the SBCL bug reports are starting to drag down
the mood of this NG.

kt
Mar 8 '07 #827
Brian Adkins wrote:
Ken Tilton wrote:
>John Nagle wrote:
Turns out John is having quite a tough time with Python web hosting (the
thread has split off to a c.l.p only fork), so I'm going to cut him some
slack. Maybe with some lovin' we can woo him over to c.l.l ;)
Been there, done that. I've actually used an original refrigerator
sized Symbolics LISP machine.

I tend to think of Python as a LISP with infix syntax.
We have a better handle on what to put in a dynamic language now, and
Python does a good job in that direction. I'm happy with the
language; it's the integration with external components that isn't
working.

John Nagle
Mar 8 '07 #828
On Mar 8, 5:23 am, John Nagle <n...@animats.c omwrote:
Brian Adkins wrote:
Ken Tilton wrote:
John Nagle wrote:
Turns out John is having quite a tough time with Python web hosting (the
thread has split off to a c.l.p only fork), so I'm going to cut him some
slack. Maybe with some lovin' we can woo him over to c.l.l ;)

Been there, done that. I've actually used an original refrigerator
sized Symbolics LISP machine.

I tend to think of Python as a LISP with infix syntax.
We have a better handle on what to put in a dynamic language now, and
Python does a good job in that direction. I'm happy with the
language; it's the integration with external components that isn't
working.

John Nagle

OMG! And I thought the thread was dead!

Necromancers! Run!!!

Mar 8 '07 #829
On 3/8/07, Dennis Lee Bieber <wl*****@ix.net com.comwrote:
On Thu, 08 Mar 2007 06:13:15 GMT, John Nagle <na***@animats. com>
declaimed the following in comp.lang.pytho n:

When starting out with this project, I'd made the assumption that
Python was a stable, working, well-supported technology, like Perl
hosting. It isn't.
It is interesting how your text seems to blame "Python" (the
language) when comparing not to "Perl" (the language) but to a service
field of "Perl hosting".

At the least, be fair and use the phrase "Python hosting" in any
place you'd have used "Perl hosting"...
(I note in passing you did have a comment about Python, the language,
being good... but anyone reading quickly would tend to interpret, say
the part quoted above, as "Python is unstable, doesn't work, and
unsupported" -- none of which, in my experience, is true... Low-cost web
hosting with Python is a different kettle of fish [chowder, probably
<G>])
Mr. Nagle has a history of phrasing his personal problems as if they
were vast, sweeping, general issues affecting the entire industry. The
original post, and several followups, referred to *real* hosting
provides, with the emphasis, and in the context of "industrial
strength". Any *real* hosting provider is going to support whatever
language and environment I tell them to, because I'm going to pay them
a lot of money for excellent support and if they give me any trouble I
will go with someone who provides what I want.
What was *meant* was low priced, zero maintenance, reasonably reliable
consumer level hosting. Thats a totally different market, it's not
"industrial strength", and it doesn't merit the emphasis on *real*
provider. And it is true that in that realm Python is not well
represented.
Mar 8 '07 #830

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2188
by: Paddy3118 | last post by:
This month there was/is a 1000+ long thread called: "merits of Lisp vs Python" In comp.lang.lisp. If you followed even parts of the thread, AND previously used only one of the languages AND (and this is the crucial bit), were persuaded to have a more positive view of the other language; (deep breath, this is a long, as well as grammatically incorrect sentence), THEN WHY NOT POST ON WHAT ARGUMENTS PERSUADED YOU.
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10268
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9916
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4017
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2853
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.