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


Groups > comp.lang.python > #95849

Re: Why Python is not both an interpreter and a compiler?

Path csiph.com!news.swapon.de!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!nntp.giganews.com!usenetcore.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'binary': 0.05; 'distributing': 0.07; 'cc:addr:python-list': 0.09; 'creighton': 0.09; 'interpreter,': 0.09; 'settings,': 0.09; 'subject:Why': 0.09; 'subject:both': 0.09; 'python': 0.10; 'subject:not': 0.11; 'wed,': 0.15; 'etc?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'kilobytes': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'library': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'sep': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'installed': 0.26; 'message-id:@mail.gmail.com': 0.27; 'version,': 0.30; 'another': 0.32; 'compiled': 0.32; 'computer.': 0.32; 'received:google.com': 0.35; 'but': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'files': 0.38; 'build': 0.40; 'programs': 0.62; 'different': 0.63; 'chrisa': 0.84; 'absolutely': 0.88; 'to:none': 0.91; 'also...': 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=k8nbv+5TewcoxLnRgW4Xxk+dpaByN6o5G9iBE7fnubg=; b=bo1tgQ1adOUz8P+hSDDT5QEHk6VNSaYMH3ZggsQc4S7VB761KKpajC5WlntC1IBeW2 /ot+CrhHYGy4xvOZyeWXBlQFcl7wuHw3vqYhQfSiRj3a4ZNO7rnZAs3QmJOWekmxqzWS 2xVp+n9cp3eblgy81cSSee20xYZl/8JcNff1zH44xLBjA0efrMyYK0XkDLb/98H4BiBd oAWHoV8m4m5xLSt3aRLAZvY75Rnd+xfugIphsy222+ZNRIHNnHOtTIKKh4YS1hsoJfa5 lhgxLo6eMwmYuc0mWiCZdvwmTiNon6Vdy0RkWS662HROYXvPBvu0VCRU0p7MIZNhP04y HolQ==
MIME-Version 1.0
X-Received by 10.50.21.10 with SMTP id r10mr991901ige.94.1441155015330; Tue, 01 Sep 2015 17:50:15 -0700 (PDT)
In-Reply-To <87egihvr6g.fsf@elektro.pacujo.net>
References <3e541d13-bc86-456c-8590-4ffd1af9cfd0@googlegroups.com> <mailman.16.1441021308.23514.python-list@python.org> <87twrftw4w.fsf@elektro.pacujo.net> <a1dc8c59-e5a8-4672-afde-49416bbee76a@googlegroups.com> <55e5c220$0$1641$c3e8da3$5496439d@news.astraweb.com> <87io7uun4s.fsf@elektro.pacujo.net> <mailman.51.1441128795.23514.python-list@python.org> <87egihvr6g.fsf@elektro.pacujo.net>
Date Wed, 2 Sep 2015 10:50:15 +1000
Subject Re: Why Python is not both an interpreter and a compiler?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.0.1441155017.8327.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441155017 news.xs4all.nl 23832 [2001:888:2000:d::a6]:59992
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95849

Show key headers only | View raw


On Wed, Sep 2, 2015 at 6:08 AM, Marko Rauhamaa <marko@pacujo.net> wrote:
> Laura Creighton <lac@openend.se>:
>
>> But are Guile programs small?
>
> They can be tiny because libguile-2.0.so, the interpreter, is a dynamic
> library and is installed on the computer. It's barely different from how
> compiled C programs can be a few kilobytes in size because libc.so is
> dynamic.

And compiled C programs are notoriously hard to distribute. Can you
pick up a Guile binary and carry it to another computer? Do you have
to absolutely perfectly match the libguile version, architecture,
build settings, etc?

Also... how is this different from distributing .pyc files and
expecting people to have a Python interpreter?

ChrisA

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


Thread

Why Python is not both an interpreter and a compiler? Mahan Marwat <mahanmarwat@gmail.com> - 2015-08-31 01:35 -0700
  Re: Why Python is not both an interpreter and a compiler? Chris Angelico <rosuav@gmail.com> - 2015-08-31 18:49 +1000
  Re: Why Python is not both an interpreter and a compiler? Cameron Simpson <cs@zip.com.au> - 2015-08-31 19:59 +1000
  Re: Why Python is not both an interpreter and a compiler? Ben Finney <ben+python@benfinney.id.au> - 2015-08-31 21:41 +1000
    Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-08-31 16:39 +0300
      Re: Why Python is not both an interpreter and a compiler? Mahan Marwat <mahanmarwat@gmail.com> - 2015-08-31 10:48 -0700
        Re: Why Python is not both an interpreter and a compiler? Emile van Sebille <emile@fenx.com> - 2015-08-31 10:56 -0700
        Re: Why Python is not both an interpreter and a compiler? Ben Finney <ben+python@benfinney.id.au> - 2015-09-01 09:15 +1000
        Re: Why Python is not both an interpreter and a compiler? Luca Menegotto <otlucaDELETE@DELETEyahoo.it> - 2015-09-01 07:45 +0200
          Re: Why Python is not both an interpreter and a compiler? Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-01 11:21 -0600
        Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-01 09:51 +0200
        Re: Why Python is not both an interpreter and a compiler? Steven D'Aprano <steve@pearwood.info> - 2015-09-02 01:20 +1000
          Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-09-01 19:20 +0300
            Re: Why Python is not both an interpreter and a compiler? Chris Angelico <rosuav@gmail.com> - 2015-09-02 03:06 +1000
            Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-01 19:33 +0200
              Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-09-01 23:08 +0300
                Re: Why Python is not both an interpreter and a compiler? Chris Angelico <rosuav@gmail.com> - 2015-09-02 10:50 +1000
                Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-02 09:09 +0200
                Re: Why Python is not both an interpreter and a compiler? wxjmfauth@gmail.com - 2015-09-02 01:25 -0700
            Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-01 19:52 +0200
            Re: Why Python is not both an interpreter and a compiler? Steven D'Aprano <steve@pearwood.info> - 2015-09-02 12:49 +1000
              Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-09-02 06:58 +0300
              Re: Why Python is not both an interpreter and a compiler? Jussi Piitulainen <harvesting@makes.address.invalid> - 2015-09-02 08:59 +0300
  Re: Why Python is not both an interpreter and a compiler? Michael Torrie <torriem@gmail.com> - 2015-09-01 21:46 -0600

csiph-web