Path: csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'compiler': 0.05; 'cpython': 0.05; 'scipy': 0.05; 'api': 0.09; 'cc:addr:python-list': 0.09; 'ping': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; 'python.': 0.11; 'extensions': 0.13; 'java,': 0.15; '>on': 0.16; '>to': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'expect,': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'ironpython': 0.16; 'liu': 0.16; 'maintainer': 0.16; 'message-id:@fido.openend.se': 0.16; 'numpy': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'wrote:': 0.16; 'laura': 0.18; "shouldn't": 0.18; 'versions': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'extension': 0.20; 'cc:2**1': 0.22; 'java': 0.22; 'trying': 0.22; 'cc:no real name:2**0': 0.22; 'am,': 0.23; 'code,': 0.23; 'tried': 0.24; 'implemented': 0.24; 'header:In-Reply-To:1': 0.24; '(which': 0.26; 'chris': 0.26; 'lot.': 0.29; 'received:se': 0.29; 'thinks': 0.29; 'code': 0.30; 'run': 0.33; 'tue,': 0.34; 'worked': 0.34; 'so,': 0.35; 'could': 0.35; 'done': 0.35; 'quite': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'project': 0.36; 'there': 0.36; '(and': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'charset:us- ascii': 0.37; 'things': 0.38; 'difference': 0.38; 'mean': 0.38; 'whatever': 0.39; 'still': 0.40; 'called': 0.40; 'him': 0.60; 'your': 0.60; 'header:Message-Id:1': 0.61; 'more': 0.63; 'else.': 0.66; 'iron': 0.66; 'here': 0.66; 'bulk': 0.76; 'received:89': 0.80; '+1000,': 0.84; 'differences,': 0.84; 'luck': 0.95 To: Chris Angelico cc: "python-list@python.org" , lac@openend.se From: Laura Creighton Subject: Re: memory control in Python In-Reply-To: Message from Chris Angelico of "Tue, 18 Aug 2015 10:13:57 +1000." References: <685b4197-973b-432b-83fd-099f3bfc5239@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13210.1439878581.1@fido> Content-Transfer-Encoding: quoted-printable Date: Tue, 18 Aug 2015 08:16:21 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Tue, 18 Aug 2015 08:16:23 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1439878593 news.xs4all.nl 16554 [2001:888:2000:d::a6]:38002 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95458 In a message of Tue, 18 Aug 2015 10:13:57 +1000, Chris Angelico writes: >On Tue, Aug 18, 2015 at 8:09 AM, Ping Liu wrote= : >> If I move from Python to Jython or IronPython, do I need to retool what= ever I have done? If so, that may take quite a long time. This may make th= e reimplementation impossible. > >You're not moving from Python to something else; you're moving from >CPython to something else. It's like moving from Borland's C compiler >to Watcom's C compiler - all your code should still run unchanged. >There will be differences, but the bulk of your code shouldn't need >changing. With Python interpreters, the usual difference is extension >libraries - CPython can call on a bunch of things implemented in >native code, Jython can call on a bunch of things implemented in Java, >etc. > >ChrisA Unless, as I expect, what he has done uses Numpy and or SciPy a lot. Enthought is no longer supporting NumPy for IronPython (and it never worked all that well, anyway, I am told ... but I never used it myself). Even the maintainer of Jnumeric (which is trying to do Numeric not NumPy) thinks the Jnumeric project should die. http://stackoverflow.com/questions/18832169/numpy-analog-for-jython We already know that Ping has a really big C extension he needs to work with -- CPLEX, and well, here he may be in luck as there are java versions of CPLEX and there is something called the CPLEX/Concert .NET API which may -- I never tried this -- let him work with Iron Python. But that is one lirary. If he has many more C extensions he needs to use, then this could mean retooling them. Laura