BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ubuntu terminal directory
- Subject: ubuntu terminal directory
- From: lemmuh-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (David Hummel)
- Date: Sun, 28 Mar 2010 17:09:06 -0400
- In-reply-to: <4BAFABC0.20807-mNDKBlG2WHs@public.gmane.org>
- References: <4BAB5ABB.6090505@gmail.com> <4BAB5EDA.9020407@gmail.com> <20100325131239.GX14999@tao.merseine.nu> <20100325161459.GP14288@dragontoe.org> <4BABFCB7.1020505@borg.org> <20100328184551.GU14288@dragontoe.org> <4BAFABC0.20807@blu.org>
On Sun, Mar 28, 2010 at 3:19 PM, Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org> wrote: > The initial Perl version ran very, very slow, [...] > Much faster than Perl, [...] > The Python version runs in about 10 seconds, the C++ > version in about 30 seconds without copying to the other server, and the > Perl took an hour. It sounds like you're dealing with some very poorly written Perl code. Perl excels at parsing and is actually more suited to this task than Python is. Performance-wise Perl and Python compare favorably in this regard and in many cases Perl wins out. > I also find that Python files are more readable than Perl, bash or Cshell scripts. IMHO, readability is less about the language and more about coding style. You can write very readable code in any language. I personally dislike Python's reliance on indentation level, and the silly double underscore name mangling for class-private members, among other things, but in general I think both Perl and Python are great languages. One should use the language that is suited to the task. For anything having to do with parsing and text processing, I'd use Perl. For a quick UI or admin interface, I'd use Python.
- References:
- ubuntu terminal directory
- From: eric.chadbourne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Eric Chadbourne)
- ubuntu terminal directory
- From: eric.chadbourne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Eric Chadbourne)
- ubuntu terminal directory
- From: dsr-mzpnVDyJpH4k7aNtvndDlA at public.gmane.org (Dan Ritter)
- ubuntu terminal directory
- From: invalid-yPs96gJSFQo51KKgMmcfiw at public.gmane.org (Derek Martin)
- ubuntu terminal directory
- From: kentborg-KwkGvOEf1og at public.gmane.org (Kent Borg)
- ubuntu terminal directory
- From: invalid-yPs96gJSFQo51KKgMmcfiw at public.gmane.org (Derek Martin)
- ubuntu terminal directory
- From: gaf-mNDKBlG2WHs at public.gmane.org (Jerry Feldman)
- ubuntu terminal directory
- Prev by Date: "snapshot" RAID
- Next by Date: "snapshot" RAID
- Previous by thread: ubuntu terminal directory
- Next by thread: Perl
- Index(es):