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: 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> <87twrftw4w.fsf@elektro.pacujo.net> <55e5c220$0$1641$c3e8da3$5496439d@news.astraweb.com> <87io7uun4s.fsf@elektro.pacujo.net> <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 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: 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 On Wed, Sep 2, 2015 at 6:08 AM, Marko Rauhamaa wrote: > Laura Creighton : > >> 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