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


Groups > comp.lang.python > #42797

Re: JIT compilers for Python, what is the latest news?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'mrab': 0.05; 'subject:Python': 0.06; 'friday,': 0.09; 'portions': 0.09; 'replied': 0.09; 'rewrite': 0.09; 'run,': 0.09; 'yeah,': 0.09; 'runs': 0.10; 'extension,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gonna': 0.16; 'itself,': 0.16; 'limiting': 0.16; 'numpy': 0.16; 'wrote:': 0.18; 'examples': 0.20; 'fairly': 0.24; "i've": 0.25; 'possibly': 0.26; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; '(like': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'fixing': 0.31; 'high.': 0.31; 'lot.': 0.31; 'subject:what': 0.31; 'fri,': 0.33; 'subject:the': 0.34; 'problem': 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'should': 0.36; 'received:209': 0.37; 'minimum': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'itself': 0.39; 'to:addr:python.org': 0.39; 'days': 0.60; 'easy': 0.60; 'most': 0.60; 'john': 0.61; 'making': 0.63; 'became': 0.64; 'within': 0.65; 'improvements': 0.68; 'simulations': 0.84; 'subject:latest': 0.84; 'week!': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=ax+tUwWRwNS1GvXSSXx6kwD37YhcjbS17KrFnz327+Q=; b=EHBnLc0Pa0BU0wsHDl1QudG4imkrVGI5L/0dF0PAqjRfGPSwu4WqQGSLFV1G9Jgyk4 GEaHDk/Z+JpqzgrxY2siRRn7n4+zu433sP86L4ooCyT3kMnOdl8tguLyVaas59D+EyaJ ArwRtt6qGp4mMpVUMZdywRV8xgzqPnQU+CrTQDI8dChAdjF2IkayArqcBM3//14Bt09p qsYOm9yTTrDJWalnxWnahUHlHuBoLSC71WFeK4lhpDk4OkJq8CPu9lXzigyvVphTS6jq 7SD0NLcg5lm70VdTwmDaz+eFKMqU2X8yVwwH8Is8JX0cDqlU1Verrjt9bQSMWPWsPds9 Kv0A==
MIME-Version 1.0
X-Received by 10.58.15.193 with SMTP id z1mr7452799vec.40.1365151752100; Fri, 05 Apr 2013 01:49:12 -0700 (PDT)
In-Reply-To <590d71e1-5f78-475e-a5bc-8210694a7616@googlegroups.com>
References <6ac24546-6cc6-4a01-9fa6-3b52d64484e3@googlegroups.com> <mailman.125.1365150463.3114.python-list@python.org> <590d71e1-5f78-475e-a5bc-8210694a7616@googlegroups.com>
Date Fri, 5 Apr 2013 19:49:12 +1100
Subject Re: JIT compilers for Python, what is the latest news?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.126.1365151754.3114.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365151754 news.xs4all.nl 6918 [2001:888:2000:d::a6]:51178
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42797

Show key headers only | View raw


On Fri, Apr 5, 2013 at 7:39 PM, John Ladasky <john_ladasky@sbcglobal.net> wrote:
> On Friday, April 5, 2013 1:27:40 AM UTC-7, Chris Angelico wrote:
>> 1) Can you optimize your algorithms? Three days of processing is... a LOT.
>
> Neural network training.  Yes, it takes a long time.  Still, it's not the most tedious code I run.  I also do molecular-dynamics simulations with GROMACS, those runs can take over a week!
>
>> 2) Rewrite some key portions in C, possibly using Cython (as MRAB suggested).
>
> And as I replied to MRAB, my limiting code is within Numpy.  I've taken care to look for ways that I might have been using Numpy itself inefficiently (and I did find a problem once: fixing it tripled my execution speed).  But I would like to think that Numpy itself, since it is already a C extension, should be optimal.

Ahh, yeah, that's gonna take a while. Your minimum processing time is
likely to remain fairly high. There won't be any stupidly easy
improvements to make (like one of my favorite examples from
databasing: an overnight job became a three-second run, just by making
proper use of a Btrieve file's index).

ChrisA

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


Thread

JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-04 19:29 -0700
  Re: JIT compilers for Python, what is the latest news? MRAB <python@mrabarnett.plus.com> - 2013-04-05 03:39 +0100
    Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:34 -0700
      Re: JIT compilers for Python, what is the latest news? Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-04-05 14:37 -0400
      Re: JIT compilers for Python, what is the latest news? Joshua Landau <joshua.landau.ws@gmail.com> - 2013-04-06 11:23 +0100
    Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:34 -0700
  Re: JIT compilers for Python, what is the latest news? Chris Angelico <rosuav@gmail.com> - 2013-04-05 19:27 +1100
    Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:39 -0700
      Re: JIT compilers for Python, what is the latest news? Chris Angelico <rosuav@gmail.com> - 2013-04-05 19:49 +1100
      Re: JIT compilers for Python, what is the latest news? Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 11:32 -0600
        Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 11:13 -0700
          Re: JIT compilers for Python, what is the latest news? Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 13:05 -0600
        Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 11:13 -0700
      Re: JIT compilers for Python, what is the latest news? Robert Kern <robert.kern@gmail.com> - 2013-04-05 10:46 +0100
    Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:39 -0700
      Re: JIT compilers for Python, what is the latest news? ptb <petertbrady@gmail.com> - 2013-04-05 05:18 -0700
  Re: JIT compilers for Python, what is the latest news? Ian Foote <ian@feete.org> - 2013-04-05 13:50 +0100
  Re: JIT compilers for Python, what is the latest news? Joshua Landau <joshua.landau.ws@gmail.com> - 2013-04-06 11:27 +0100
  Re: JIT compilers for Python, what is the latest news? rusi <rustompmody@gmail.com> - 2013-04-06 08:45 -0700
  Re: JIT compilers for Python, what is the latest news? Stefan Behnel <stefan_ml@behnel.de> - 2013-04-06 21:41 +0200

csiph-web