Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id BAB94781921 for <~alpine/users@lists.alpinelinux.org>; Mon, 16 Nov 2020 05:33:15 +0000 (UTC) Received: by mail-lj1-f173.google.com with SMTP id r17so18713900ljg.5 for <~alpine/users@lists.alpinelinux.org>; Sun, 15 Nov 2020 21:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fP0e7Fsr9jwtKMGb6XqdKk8ttC6yQJik9P6vzEPGYMc=; b=r18khsyj9O/iOYHO0MsafKqPUglQIBsQhevmF41jAJlGRzFzJDgpFYDwLlfWGUXT/8 tyDWBt1Xm3guBm/6f5c56rdmU31N91hs46GN2d/R0ldH5o7U7lzpv9BlSIApzrp7YIhw IaQFd5yWKnufXtsl1ybvyYjI/uWB5FBM6mdGc/UZpExT7i7TT3us0PslsgOI1Y3b0FB7 /fuX5CULrw6aTTynw4TWVhCcoXT6Ixf0f0/zPCClKmefc6a1H78h3stOxnThLIH3/qZj ar0x0c4GkVZ3AoVip2NgvY0RtNRQF8ykkN6wgjHJfQPWre1mxYAopxIGCcMAqkFo/s8p RY8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fP0e7Fsr9jwtKMGb6XqdKk8ttC6yQJik9P6vzEPGYMc=; b=kyDP2AL7eJLrgw7v0JTbTOey/VvSJ19NG2YQkhSSmpFhDDyx34a2FDGYWsPhy/FOq7 3tAZA6TiQm2Es5lT+I1jfhZYBRegf+AEyovcaPLks4bTejJCqHqcvvWM0kaMeL4QASqt yzvSIXjoi4whxFtPkyAt+Pc56FxMe7WlxPb1qY+n5gSuAYYuLlOp9rBvY4EE08YAHbep 2FzHSDN8iFZNiSoIXVdXc+2BTCoG2Zs3UVUJrrrQXApzBdacASLlHCOC55/9iyLny7Cd CO6PVsJgzCGjxKLxU3b/xjeDlUY1yqKmodRgqtYmu71Ec23ubwFRtZzjUyZ/NoyzUnzV isxA== X-Gm-Message-State: AOAM532wFeKwhK+3Uo++I50aesxlczRxP+2xvNfPUy130mWRmH6BEpQr Z3VqeeBbSiskE+n0XM5DjzrsHMt/M6YAGhtFn0I= X-Google-Smtp-Source: ABdhPJwI7zJFYA0SiASSO9rQ3flI82RdYUI26W09LRIta49ucrULKQDrF2TnoCj77yQ2m0/Gp6E18KIdWzZiy5Doss4= X-Received: by 2002:a2e:87d7:: with SMTP id v23mr5819871ljj.467.1605504793769; Sun, 15 Nov 2020 21:33:13 -0800 (PST) MIME-Version: 1.0 References: <20201115203347.ih7ljmt3cbpas3er@wolfsden.cz> In-Reply-To: <20201115203347.ih7ljmt3cbpas3er@wolfsden.cz> From: Banibrata Dutta Date: Mon, 16 Nov 2020 11:03:02 +0530 Message-ID: Subject: Re: PyPy and in general python (reported) bloat issue To: Wolf Cc: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000eafb2605b432b607" --000000000000eafb2605b432b607 Content-Type: text/plain; charset="UTF-8" On Mon, Nov 16, 2020 at 2:03 AM Wolf wrote: > Hello, > > On 2020-11-16 00:42:18 +0530, Banibrata Dutta wrote: > > PyPy is opensource software, do not understand your point about > precompiled > > binary blobs ? > > See comments below. > > > >> 1. Make your builds much slower. > > When installing python packages (I do not know if they have a name like > "gems" in ruby), lot of packages then include C code have already > compiled version available and pip uses them. So for glibc systems you > just download binary blob. That is faster then to compile it from source > code (which happens on alpine). > Okay got what the "binary blob" reference is to, indeed python packages, extensions (native compiled, linked with glibc) -- needing wheel files etc. Many of them are *not* part of typical Python distribution, and thus porting them is a large, open-ended task, until a very large set of such packages are ported. > >> 2. Make your images bigger. > > This is usually caused by people leaving things like compilers in the > final image, so that is their mistake, not alpine's. > > > >> 3. Waste your time. > > Combination of 1 and 2. > > > >> 4. On occassion, introduce obscure runtime bugs. > > While this one might be true, the "on occassion" did not happen to me > yet, so it does not seem to be that common. > > 1 and 2 are both solvable given some engineering effort, it depends on > you situation if the work needed is justified or not. > Understand. Just wanted to see if this topic has come up on Alpine user's group, is it indeed a problem people faced, and to see if anyone is aware of any plans by Alpine developers to solve this in near future. Wondering, if there is any concept of people voting on Github issues (feature request) for Alpine ? --000000000000eafb2605b432b607 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, Nov 16, 2020 at 2:03 AM Wolf <wolf@wolfsden.cz> wrote:
Hello,

On 2020-11-16 00:42:18 +0530, Banibrata Dutta wrote:
> PyPy is opensource software, do not understand your point about precom= piled
> binary blobs ?

See comments below.

> >>=C2=A0 =C2=A0 1. Make your builds much slower.

When installing python packages (I do not know if they have a name like
"gems" in ruby), lot of packages then include C code have already=
compiled version available and pip uses them. So for glibc systems you
just download binary blob. That is faster then to compile it from source code (which happens on alpine).

Okay go= t what the "binary blob" reference is to, indeed python packages,= extensions (native compiled, linked with glibc) -- needing wheel files etc= .
Many of them are *not* part of typical Python distribution, and= thus porting them is a large, open-ended task, until a very large set of s= uch packages are ported.

> >>=C2=A0 =C2=A0 2. Make your images bigger.

This is usually caused by people leaving things like compilers in the
final image, so that is their mistake, not alpine's.

> >>=C2=A0 =C2=A0 3. Waste your time.

Combination of 1 and 2.

> >>=C2=A0 =C2=A0 4. On occassion, introduce obscure runtime bugs.=

While this one might be true, the "on occassion" did not happen t= o me
yet, so it does not seem to be that common.

1 and 2 are both solvable given some engineering effort, it depends on
you situation if the work needed is justified or not.
=
Understand. Just wanted to see if this topic has come up on = Alpine user's group, is it indeed a problem people faced, and to see if= anyone is aware of any plans by Alpine developers to solve this in near fu= ture.

Wondering, if there is any concept of pe= ople voting on Github issues (feature request) for Alpine ?

<= /div>
--000000000000eafb2605b432b607--