Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: [ANN] MicroPython 1.5 Date: Mon, 9 Nov 2015 08:47:38 +1100 Lines: 31 Message-ID: References: <87ziyotkfr.fsf@nightsong.com> <20151108225333.776b9ee0@x230> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de YCDEFOTiuL/vqDF6xUFw8AIRNpL0ZDA2/Z5iyCmEw6wQ== 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; 'python,': 0.02; 'subject:: [': 0.03; 'received:209.85.223': 0.03; 'cpython': 0.05; 'one?': 0.05; 'subject:ANN': 0.07; 'cc:addr:python-list': 0.09; 'of)': 0.09; 'spec': 0.09; 'way:': 0.09; 'python': 0.10; '"python",': 0.16; 'distinct': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.223.173': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'usage,': 0.16; 'wrote:': 0.16; 'memory': 0.17; 'runs': 0.18; 'language': 0.19; 'subject:] ': 0.19; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'paul': 0.24; '(which': 0.26; 'possibility': 0.27; 'message- id:@mail.gmail.com': 0.27; 'url:moin': 0.27; 'specifically': 0.28; 'url:wiki': 0.30; 'code': 0.30; 'putting': 0.30; 'another': 0.32; 'implement': 0.32; 'run': 0.33; 'url:python': 0.33; 'usually': 0.33; '-0700': 0.33; 'ram': 0.33; 'gets': 0.35; 'received:google.com': 0.35; 'python.org': 0.35; 'could': 0.35; 'nov': 0.35; 'something': 0.35; 'instead': 0.36; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'possible': 0.36; 'smaller': 0.36; 'say': 0.37; 'version': 0.38; 'received:209': 0.38; 'several': 0.38; 'build': 0.40; 'called': 0.40; 'some': 0.40; 'email addr:gmail.com': 0.62; 'different': 0.63; 'here:': 0.63; 'times': 0.63; 'carefully': 0.72; 'yourself': 0.73; 'chrisa': 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=z/BkEn+Da1UAXjG9+21FQMLx4X2vDQK14TCO5LIB88E=; b=SOD2Jt2dSPW1zeBmGncLVGjMK81UPP19qD92NrLoPS5beHruD+Jmsiuts8HhTjYAdw D2NugqUn1oT//8ZX2RgsgEIrVrORH7fAn1kFTqmYbdb6hsUs++nIb92YzXfSRsAWpJE9 JxM98uqVRYYj+NLUmGX8h8+Jq4cpQ0+OZY7FrXy8QtWGc+mXfNcgEkNh7gPX9j5D6p8U JYxv8ESJu/cGrgmTq2tbjBN/fJIltL88c8IUMwWprJkl6mhPPhkRqZyOdSuQZAtstm4S 33jF6bin/+LJfAZZkQ/wtaNATUM3NgDYch5LL/SMhvk7cPvj+qe9tozIUlYnOhl3zhEi KUCw== X-Received: by 10.107.16.84 with SMTP id y81mr14657083ioi.19.1447019258552; Sun, 08 Nov 2015 13:47:38 -0800 (PST) In-Reply-To: <20151108225333.776b9ee0@x230> 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: , Xref: csiph.com comp.lang.python:98478 On Mon, Nov 9, 2015 at 7:53 AM, Paul Sokolovsky wrote: > On Sun, 8 Nov 2015 12:08:20 -0700 > paul.hermeneutic@gmail.com wrote: > >> What is the possibility that MicroPython could be another build from >> the base python.org sources? Python already gets built for a variety >> of architectures. Could a MicroPython be another one? In that way, it >> would always be up to date on language changes. > > There's zero possibility for this - MicroPython is from-scratch > implementation carefully optimized for code size and memory usage, > that's how it's up to 50 times smaller than CPython and can run with > ~1000 times less RAM than CPython usually runs with. Putting this another way: MicroPython is a *different implementation* of Python, which just happens to be in the same language as CPython. A number of Python implementations are listed here: https://wiki.python.org/moin/PythonImplementations Each one is a distinct implementation of (some version of) the same language spec called "Python", which is different from a build target of CPython. For example, there are several implementations designed to run inside a web browser, and while it's theoretically possible to port some other Python implementation to JavaScript (which is what PyPyJS did with PyPy), it's usually easier to instead implement something specifically in/for JS (eg Brython). There's no way to say "CPython, go build yourself for the platform known as Mozilla Firefox", because that would be hopelessly inefficient. ChrisA