Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44894

Re: Why do Perl programmers make more money than Python programmers

References (3 earlier) <CAA=1kxSQE2uCkgTQbr3cfmg4PFQEj=OcYpTi5F+Chd+j0Q8Tuw@mail.gmail.com> <CAPTjJmoF1CK661GDovgw0MmveOv-tAOGSW2odquM4eh7kei-eg@mail.gmail.com> <mailman.1320.1367826603.3114.python-list@python.org> <f6f88950-979d-4f6d-8265-310d73ae3a60@w15g2000vbn.googlegroups.com> <CAA=1kxSphzMjas1N+NycoLhVnsQXapJsziNqPvQLuv2GQ3Bv4Q@mail.gmail.com>
Subject Re: Why do Perl programmers make more money than Python programmers
From Steve Simmons <square.steve@gmail.com>
Date 2013-05-07 15:17 +0100
Newsgroups comp.lang.python
Message-ID <mailman.1412.1367936288.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

"Fábio Santos" <fabiosantosart@gmail.com> wrote:

>>
>>
>> -----
>>
>>
>> 1) The memory gain for many of us (usually non ascii users)
>> just become irrelevant.
>>
>> >>> sys.getsizeof('maçã')
>> 41
>> >>> sys.getsizeof('abcd')
>> 29
>>
>> 2) More critical, Py 3.3, just becomes non unicode compliant,
>> (eg European languages or "ascii" typographers !)
>>
>> >>> import timeit
>> >>> timeit.timeit("'abcd'*1000 + 'a'")
>> 2.186670111428325
>> >>> timeit.timeit("'abcd'*1000 + '€'")
>> 2.9951699820528432
>> >>> timeit.timeit("'abcd'*1000 + 'œ'")
>> 3.0036780444886233
>> >>> timeit.timeit("'abcd'*1000 + 'ẞ'")
>> 3.004992278824048
>> >>> timeit.timeit("'maçã'*1000 + 'œ'")
>> 3.231025618708202
>> >>> timeit.timeit("'maçã'*1000 + '€'")
>> 3.215894398100758
>> >>> timeit.timeit("'maçã'*1000 + 'œ'")
>> 3.224407974255655
>> >>> timeit.timeit("'maçã'*1000 + '’'")
>> 3.2206342273566406
>> >>> timeit.timeit("'abcd'*1000 + '’'")
>> 2.9914403449067777
>>
>> 3) Python is "pround" to cover the whole unicode range,
>> unfortunately it "breaks" the BMP range.
>> Small GvR exemple (ascii) from the the bug list,
>> but with non ascii characters.
>>
>> # Py 3.2, all chars
>>
>> >>> timeit.repeat("a = 'hundred'; 'x' in a")
>> [0.09087790617297742, 0.07456871885972305, 0.07449940353376405]
>> >>> timeit.repeat("a = 'maçãé€ẞ'; 'x' in a")
>> [0.10088136800095526, 0.07488497003487282, 0.07497594640028638]
>>
>>
>> # Py 3.3 ascii and non ascii chars
>> >>> timeit.repeat("a = 'hundred'; 'x' in a")
>> [0.11426985953005442, 0.10040049292649655, 0.09920834808588097]
>> >>> timeit.repeat("a = 'maçãé€ẞ'; 'é' in a")
>> [0.2345595188256766, 0.21637172864154763, 0.2179096624382737]
>>
>>
>> There are plenty of good reasons to use Python. There are
>> also plenty of good reasons to not use (or now to drop)
>> Python and to realize that if you wish to process text
>> seriously, you are better served by using "corporate
>> products" or tools using Unicode properly.
>>
>> jmf
>
>This is so off-topic that, after reading this, I feel I have just
>returned
>from the Moon.
>
>OTOH, it would seem like you know the Portuguese word for apple, so I
>also
>feel home.
>
>I am so confused.
>
>
>------------------------------------------------------------------------
>
>-- 
>http://mail.python.org/mailman/listinfo/python-list

Good to see jmf finally comparing apples with apples :-) 

Sent from a Galaxy far far away

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why do Perl programmers make more money than Python programmers Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> - 2013-05-05 12:11 -0500
  Re: Why do Perl programmers make more money than Python programmers Stephan Vladimir Bugaj <sbugaj@pixar.com> - 2013-05-05 10:32 -0700
  Re: Why do Perl programmers make more money than Python programmers Stephan Vladimir Bugaj <sbugaj@pixar.com> - 2013-05-05 10:33 -0700
  Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-05 18:34 +0100
  Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 03:35 +1000
  Re: Why do Perl programmers make more money than Python programmers rusi <rustompmody@gmail.com> - 2013-05-05 10:35 -0700
    Re: Why do Perl programmers make more money than Python programmers Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-05 19:24 +0100
  Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-05 18:52 +0100
  Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 13:58 -0400
    Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-05 19:13 +0000
      Re: Why do Perl programmers make more money than Python programmers Petite Abeille <petite.abeille@gmail.com> - 2013-05-05 23:05 +0200
      Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 17:07 -0400
        Re: Why do Perl programmers make more money than Python programmers Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-05 17:37 -0400
          Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 17:49 -0400
        Re: Why do Perl programmers make more money than Python programmers William Ray Wing <wrw@mac.com> - 2013-05-07 17:02 -0400
  Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-05 19:10 +0000
    Re: Why do Perl programmers make more money than Python programmers jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 20:37 +0000
      Re: Why do Perl programmers make more money than Python programmers Rainer Weikusat <rweikusat@mssgmbh.com> - 2013-05-05 22:09 +0100
        Re: Why do Perl programmers make more money than Python programmers jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 21:33 +0000
          Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 17:35 -0400
            Re: Why do Perl programmers make more money than Python programmers jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 21:43 +0000
        Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 08:24 +1000
    Re: Why do Perl programmers make more money than Python programmers 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-05 14:34 -0700
    Re: Why do Perl programmers make more money than Python programmers llanitedave <llanitedave@veawb.coop> - 2013-05-05 23:13 -0700
      Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 07:28 +0100
        Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-06 07:41 -0400
      Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 17:30 +1000
        Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-06 12:03 +0000
          Re: Why do Perl programmers make more money than Python programmers Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-06 17:04 +0100
      Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 08:49 +0100
        Re: Why do Perl programmers make more money than Python programmers jmfauth <wxjmfauth@gmail.com> - 2013-05-07 06:22 -0700
          Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-07 23:32 +1000
            Re: Why do Perl programmers make more money than Python programmers 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-07 13:41 -0700
            Re: Why do Perl programmers make more money than Python programmers Walter Hurry <walterhurry@lavabit.com> - 2013-05-07 21:14 +0000
          Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-07 14:35 +0100
          Re: Why do Perl programmers make more money than Python programmers Steve Simmons <square.steve@gmail.com> - 2013-05-07 15:17 +0100
            Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-08 03:06 +0000
          Re: Why do Perl programmers make more money than Python programmers Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-07 14:40 -0400
          Re: Why do Perl programmers make more money than Python programmers Neil Hodgson <nhodgson@iinet.net.au> - 2013-05-08 10:34 +1000
            Re: Why do Perl programmers make more money than Python programmers Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-05-07 18:11 -0700
              Re: Why do Perl programmers make more money than Python programmers rusi <rustompmody@gmail.com> - 2013-05-08 03:43 -0700
            Re: Why do Perl programmers make more money than Python programmers Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-08 02:22 +0100
            Re: Why do Perl programmers make more money than Python programmers Dave Angel <davea@davea.name> - 2013-05-07 21:23 -0400
      Re: Why do Perl programmers make more money than Python programmers Karim <kliateni@gmail.com> - 2013-05-06 09:55 +0200
      Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 08:58 +0100
      Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 18:02 +1000
      Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 10:00 +0100
  Re: Why do Perl programmers make more money than Python programmers Paul Rubin <no.email@nospam.invalid> - 2013-05-05 14:17 -0700
    Re: Why do Perl programmers make more money than Python programmers Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> - 2013-05-05 18:05 -0500
  Re: Why do Perl programmers make more money than Python programmers Henry Law <news@lawshouse.org> - 2013-05-06 07:07 +0100
    Re: Why do Perl programmers make more money than Python programmers Ignoramus30465 <ignoramus30465@NOSPAM.30465.invalid> - 2013-05-06 20:53 -0500

csiph-web