Re: Python versus Perl

2005-09-11 Thread Terry Reedy
"Michael Sparks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That said, if you do describe it that way, it'd be more accurate to > describe > the python binary as a compiler/runtime rather than interpreter since > it'd > be more accurate. If Java calls its runtime bytecode in

Re: Python versus Perl

2005-09-11 Thread Michael Sparks
Terry Reedy wrote: [...] > I am being picky because various people have claimed that Python suffers > in popularity because it is known as an 'interpreted language'. So maybe > advocates should be more careful than we have been to not reinforce the > misunderstanding. I sometimes wonder if it mig

Re: Python versus Perl

2005-09-10 Thread Terry Reedy
"Roy Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dieter Vanderelst <[EMAIL PROTECTED]> wrote: >> 1 - How does the speed of execution of Perl compares to that of Python? > To a first-order approximation, Perl and Python run at the same speed. 'Speed of execution' is a fe

Re: Python versus Perl

2005-09-10 Thread Roy Smith
Dieter Vanderelst <[EMAIL PROTECTED]> wrote: > 1 - How does the speed of execution of Perl compares to that of Python? To a first-order approximation, Perl and Python run at the same speed. They are both interpreted languages with roughly the same kind of control flow and data structures. The

Re: Python versus Perl

2005-09-10 Thread Thorsten Kampe
* Dieter Vanderelst (2005-09-06 18:03 +0100) > I'm currently comparing Python versus Perl to use in a project that > involved a lot of text processing. I'm trying to determine what the most > efficient language would be for our purposes. I have to admit that, > although

Re: Python versus Perl

2005-09-07 Thread Terry Hancock
On Wednesday 07 September 2005 04:47 am, Michael Sparks wrote: > Dieter Vanderelst wrote: > > I'm currently comparing Python versus Perl to use in a project that > > involved a lot of text processing. I'm trying to determine what the > > most efficient language would

Re: Python versus Perl

2005-09-07 Thread Michael Sparks
Dieter Vanderelst wrote: > Dear all, > > I'm currently comparing Python versus Perl to use in a project that > involved a lot of text processing. I'm trying to determine what the > most efficient language would be for our purposes. I have to admit > that, although I

Re: Python versus Perl

2005-09-06 Thread Matthias Kluwe
Hi! > [...] > 1 - How does the speed of execution of Perl compares to that of Python? This might not answer your question, but I found "The Computer Language Shootout Benchmarks" quite interesting (and fun). Python to Perl comparison can be found at http://shootout.alioth.debian.org/benchmark.p

Re: Python versus Perl

2005-09-06 Thread Michael Ekstrand
I don't have any benchmark/performance data available, so I'll pass on those questions, but I'll take a stab at the third (being reasonably fluent in both languages). On Sep 6, 2005, at 12:03 PM, Dieter Vanderelst wrote: > 3 - In my opinion Python is very well suited for text processing. Does >

Python versus Perl

2005-09-06 Thread Dieter Vanderelst
Dear all, I'm currently comparing Python versus Perl to use in a project that involved a lot of text processing. I'm trying to determine what the most efficient language would be for our purposes. I have to admit that, although I'm very familiar with Python, I'm complete Pe

Re: Python versus Perl ?

2005-02-11 Thread rzed
"Mauro Cicognini" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > Alex Martelli wrote: > >> URK -- _my_ feeling is that we have entirely *too many* options >> for stuff like web application frameworks, GUI toolkits, XML >> processing, > ... >> >> >> Alex > > I entirely second that. >

Re: Python versus Perl ?

2005-02-11 Thread Mauro Cicognini
Alex Martelli wrote: > URK -- _my_ feeling is that we have entirely *too many* options for > stuff like web application frameworks, GUI toolkits, XML processing, ... > > > Alex I entirely second that. More, I'd heartily welcome an authoritative word on which to focus on for each category... I h

Re: Python versus Perl ?

2005-02-09 Thread Caleb Hattingh
Joe, thanks Yes, I am on the P4D mailing list :) What you didn't say was that the "python for delphi" extensions are *awesome*. full two-way communication, and you get it all by drag&dropping a little component widget onto your form in the IDE. Amazing. However... Dll's can be used by thi

Re: Python versus Perl ?

2005-02-09 Thread Joe Francia
Caleb Hattingh wrote: As you might imagine, I think about this constantly. However, there are many other issues that make it complicated, such as having to work in a team where the average guy knows pascal well (we're just a bunch of chemical engineers), but has never even heard of python. Plus,

Re: Python versus Perl ?

2005-02-09 Thread chris
[EMAIL PROTECTED] wrote: > I've read some posts on Perl versus Python and studied a bit of my > Python book. > > I'm a software engineer, familiar with C++ objected oriented > development, but have been using Perl because it is great for pattern > matching, text processing, and automated testing.

Re: Python versus Perl ?

2005-02-08 Thread Caleb Hattingh
Hi Adam Thanks for your comments. > I think the expression you seek is "comparing virtue among whores." Sure, that's what I was saying, but not quite in as colourfil a manner :) > > > > The problem domains in which I do most of my work (chemical process > > modelling and simulation) really do

Re: Python versus Perl ?

2005-02-08 Thread Harlin
If you give it a good go, you will be amazed at how the text processing is so much better than Perl's. The same with the object orientation (what oop in Perl?? none... at least none worth mentioning :-) It's been said before by many Python users... Python allows newbies to program and wizards to be

Re: Python versus Perl ?

2005-02-08 Thread Adam DePrince
On Tue, 2005-02-08 at 22:44, Caleb Hattingh wrote: > Hi m > > Speed is a contentious issue here. Point is, if you really need raw > speed, why stop only at Perl and Python? There are plenty of statically > compiled languages that will produce native binaries. > > The relative difference in

Re: Python versus Perl ?

2005-02-08 Thread m
You really will have to convince people here that execution speed is a real issue for your programming task (in order to continue this discussion). Otherwise the debate will go south real quick. Keep well Caleb On Tue, 08 Feb 2005 12:17:05 -0600, m <[EMAIL PROTECTED]> wrote: Courageous wrote:

Re: Python versus Perl ?

2005-02-08 Thread m
Irmen de Jong wrote: m wrote: Why do you care? Have you read http://www.python.org/moin/PythonSpeed ? --Irmen i had not read it. thanks for pointing it out! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python versus Perl ?

2005-02-08 Thread Caleb Hattingh
Hi m Speed is a contentious issue here. Point is, if you really need raw speed, why stop only at Perl and Python? There are plenty of statically compiled languages that will produce native binaries. The relative difference in speed between Perl and Python, whatever it is, is completely was

Re: Python versus Perl ?

2005-02-08 Thread Reinhold Birkenfeld
Fredrik Lundh wrote: > m" <[EMAIL PROTECTED]> wrote: > If Python is better than Perl, I'm curious how really significant those advantages are ? >> >> speedwise, i think perl is faster than python and python performed the >> slowest as shown in >> http://www.flat222.org/mac/bench/ > > if

Re: Python versus Perl ?

2005-02-08 Thread Irmen de Jong
m wrote: Fredrik Lundh wrote: if you use Python mostly to write empty loops, your programming license should be revoked. the benchmark author seems to have realized that, as can be seen from the "it's dead" paragraph at the top of the page, which makes me wonder why you posted this link... i wa

Re: Python versus Perl ?

2005-02-08 Thread m
Fredrik Lundh wrote: if you use Python mostly to write empty loops, your programming license should be revoked. the benchmark author seems to have realized that, as can be seen from the "it's dead" paragraph at the top of the page, which makes me wonder why you posted this link... i was trying t

Re: Python versus Perl ?

2005-02-08 Thread Fredrik Lundh
m" <[EMAIL PROTECTED]> wrote: >>>If Python is better than Perl, I'm curious how really significant >>>those advantages are ? > > speedwise, i think perl is faster than python and python performed the > slowest as shown in > http://www.flat222.org/mac/bench/ if you use Python mostly to write emp

Re: Python versus Perl ?

2005-02-08 Thread m
Courageous wrote: If Python is better than Perl, I'm curious how really significant those advantages are ? speedwise, i think perl is faster than python and python performed the slowest as shown in http://www.flat222.org/mac/bench/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python versus Perl ?

2005-02-07 Thread Peter Maas
[EMAIL PROTECTED] schrieb: His survey of programming languages in "The Art of Unix Programming", available at http://www.catb.org/~esr/writings/taoup/html/languageschapter.html , is interesting (and biased). Raymond evaluates C, C++, Shell, Perl, Tcl, Python, Java, and Emacs Lisp. One part of this

Re: Python versus Perl ?

2005-02-06 Thread Dan Perl
"Alex Martelli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > snacktime <[EMAIL PROTECTED]> wrote: > >> The one drawback coming from the perl world is that you don't have as >> many options when it comes stuff like application frameworks, and some > > URK -- _my_ feeling is that w

Re: Python versus Perl ?

2005-02-06 Thread Alex Martelli
snacktime <[EMAIL PROTECTED]> wrote: > The one drawback coming from the perl world is that you don't have as > many options when it comes stuff like application frameworks, and some URK -- _my_ feeling is that we have entirely *too many* options for stuff like web application frameworks, GUI tool

Re: Python versus Perl ?

2005-02-06 Thread Roy Smith
"EP" <[EMAIL PROTECTED]> wrote: > There are very very few cases where anyone is going to require > you to use Python Conversely, it pays to understand when you are likely to be permitted to use it (or any new technology), and when you are likely to be forbidden. Companies are generally the most

Re: Python versus Perl ?

2005-02-06 Thread EP
[EMAIL PROTECTED] asked > 3. Perl is installed on our system and a lot of other systems. > You don't have to make sys admins go out of there way to make it > available. It's usualy allready there. I also did a search of job > postings on a popular website. 108 jobs where listed that require > know

Re: Python versus Perl ?

2005-02-06 Thread snacktime
I just recently picked up Python after using perl almost exclusively for the last 8 years, and the above mentioned article by Eric Raymond echos my feelings almost exactly. The one drawback coming from the perl world is that you don't have as many options when it comes stuff like application frame

Re: Python versus Perl ?

2005-02-06 Thread beliavsky
Jorgen Grahn wrote: > > I've read that many people prefer Python and that it is better than > > Perl. However, I want to ask a few other questions. > > I could go on and on, but this essay by Eric Raymond says it better: > > http://www.linuxjournal.com/article/3882 His survey of programming la

Re: Python versus Perl ?

2005-02-06 Thread Caleb Hattingh
Hi Surfunbear I don't know about the stuff regarding jobs, resumes, etc, but I will tell you the same thing I tell everyone I meet regarding python: Set aside a morning, and work through the python tutorial that comes with the documentation. People like me are going to tell you this and that,

Re: Python versus Perl ?

2005-02-06 Thread Jorgen Grahn
On 6 Feb 2005 05:19:09 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ... > I'm a software engineer, familiar with C++ objected oriented > development, but have been using Perl because it is great for pattern > matching, text processing, and automated testing. Our company is really > fixated

Re: Python versus Perl ?

2005-02-06 Thread Courageous
> If Python is better than Perl, I'm curious how really significant >those advantages are ? The main advantage is Python's cleanliness. In Perl, there are so many different ways of writing a thing, that to be adept in perl, you have to know them all, otherwise you won't be able to read another p

Re: Python versus Perl ?

2005-02-06 Thread Alex Martelli
Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote: ... > > Perl also has excellent pattern matching compared to > > sed, not sure about how Python measures up, > > but this seems to make perl ideally suited to text processing. > > Python has regular expressions much like Perl. The only difference

Re: Python versus Perl ?

2005-02-06 Thread moma
Reinhold Birkenfeld wrote: [EMAIL PROTECTED] wrote: I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is great for pattern matching, text processing, and autom

Re: Python versus Perl ?

2005-02-06 Thread Roy Smith
[EMAIL PROTECTED] wrote: > I've read some posts on Perl versus Python and studied a bit of my > Python book. > > I'm a software engineer, familiar with C++ objected oriented > development, but have been using Perl because it is great for pattern > matching, text processing, and automated testin

Re: Python versus Perl ?

2005-02-06 Thread Kartic
[EMAIL PROTECTED] said the following on 2/6/2005 8:19 AM: I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is great for pattern matching, text processing, a

Re: Python versus Perl ?

2005-02-06 Thread Reinhold Birkenfeld
[EMAIL PROTECTED] wrote: > I've read some posts on Perl versus Python and studied a bit of my > Python book. > > I'm a software engineer, familiar with C++ objected oriented > development, but have been using Perl because it is great for pattern > matching, text processing, and automated testing

Python versus Perl ?

2005-02-06 Thread surfunbear
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is great for pattern matching, text processing, and automated testing. Our company is really fixated on r