Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'compiler': 0.05; 'cpython': 0.05; 'cc:addr:python-list': 0.09; 'ping': 0.09; 'python': 0.10; 'java,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'liu': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'extension': 0.20; 'libraries': 0.22; 'am,': 0.23; 'code,': 0.23; 'implemented': 0.24; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'code': 0.30; 'run': 0.33; 'tue,': 0.34; 'received:google.com': 0.35; 'so,': 0.35; 'quite': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'things': 0.38; 'difference': 0.38; 'whatever': 0.39; 'still': 0.40; 'your': 0.60; 'else.': 0.66; 'bulk': 0.76; 'chrisa': 0.84; 'differences,': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=3S6ySTwyuXQTmq56uyeRz/SF3G3Ko4+C0kkCaj6rdEY=; b=DEreMXILx7jl9aVsLmUgv0UwCAcw8XNdS+edvWbCsBAsKwpPHct5i00DysNdibKyRJ QSa0gR/yXsdcNoYeoACSgesKtoKt5zYotrFVK/dAmxxGdFT3pIn46EQAa9wV8T7G/tZP 3YsdkjXi70MBrcX7+oWAaPMcHM6QDxC+b+0xEUzaZoUKTDuXVNphapWJ9jKHzbazqVUN 1Y7Cp/Zn6n5P3TT3/JNiTAEEB1BId0uDuBZgqcdhUMIz3KtTA1dpYcTMI8iF2E/IUYUG BQYUwueNWqUfdMb4pOltulCa2XMo1H61DNrTe+fWOUxvzgHlNtSCg/aop4yiosEQbhJ2 5MfA== MIME-Version: 1.0 X-Received: by 10.107.3.149 with SMTP id e21mr3682888ioi.19.1439856837870; Mon, 17 Aug 2015 17:13:57 -0700 (PDT) In-Reply-To: <685b4197-973b-432b-83fd-099f3bfc5239@googlegroups.com> References: <685b4197-973b-432b-83fd-099f3bfc5239@googlegroups.com> Date: Tue, 18 Aug 2015 10:13:57 +1000 Subject: Re: memory control in Python From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1439856840 news.xs4all.nl 16548 [2001:888:2000:d::a6]:43699 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95453 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 whatever I have done? If so, that may take quite a long time. This may make the 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