Received: from mx1.mailbun.net (mx1.mailbun.net [170.39.20.100]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2CF80781267 for <~alpine/devel@lists.alpinelinux.org>; Tue, 21 Jun 2022 16:07:47 +0000 (UTC) Received: from [192.168.0.120] (ip98-188-99-246.tu.ok.cox.net [98.188.99.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ariadne@dereferenced.org) by mx1.mailbun.net (Postfix) with ESMTPSA id 715AE1251D9; Tue, 21 Jun 2022 16:07:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dereferenced.org; s=mailbun; t=1655827664; bh=7Pl62iL79kYahdbtbiDs9XwWUUwa3/uO1a/1d0U882c=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=ZluuOsLQJ8ZJf/T41TxvHXKie67zkbdskmpnpNYHZVTtXQeZbmmMwR2I0/4+c5RQg iKmxvKaYdD6El0Qw8LpsJu2j3RgNAW1gBUN0ydj5HZcHp+K6XiORzHZ1I+J/v0XYzw RM+A6GX2BDHXjjMACPM0LE0f/IUHNlfqtia0uGJ2jYoFEVpZBqecJHMTYOjkV0RwCV IpIKjXSbD7puqX9rdVysxx3VUSQ0Q+Ml9ijrTiMzyNCDMDbBiYocqT+4iqJO550AIM McvSgQ/qkLqyok5gyvwX3ju1BSO3kUBB3jqbpF5YJP0NsGHkkI7iDIvnSyIcNTnm2r X/8lC5r4D5f/g== Date: Tue, 21 Jun 2022 11:07:44 -0500 (CDT) From: Ariadne Conill To: Laurent Bercot cc: Tomas Kolda , ~alpine/devel@lists.alpinelinux.org Subject: Re: Native Alpine GLibc support (NEW) In-Reply-To: Message-ID: <6ead6b41-72b3-969a-51cd-ebc102b215c@dereferenced.org> References: <20220621095653.71773d59@ncopa-desktop.lan> <20220621114559.4d38d98e@ncopa-desktop.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, On Tue, 21 Jun 2022, Laurent Bercot wrote: > > I find it interesting that when thinking about such things (making > a distro supporting two libcs, or supporting two init systems, or > patching some software to work with the better-known alternative, or...) > the frame of reference is always "adding the support of $biggerthing > to a project that has $smallthing as a characteristic", and never the > opposite. > > It always ends up meaning more burden for the project that typically > has fewer resources, less manpower, and that is only kept afloat by > the superhuman good will and effort of its maintainers. > > Why does nobody ever say "ohey, let's add musl support to Fedora!" ? > > No, it has to be Alpine, whose defining characteristic is to be a > musl-based distribution, which is the main reason why it's small and > efficient and has the success it has, that needs to grow glibc support, > i.e. diluting its meager resources away from its central vision and > into something *every other distro under the sun* already does, which > means decreasing its value in the software ecosystem. > > I see this pattern happening over, and over, and over. > I don't get it. > That's a lie. I kinda get it, but I really don't like it. > > I would prefer more energy to be spent in understanding why the > musl pthread thing is so inefficient for your use case, and having a > discussion in musl about how to improve it, and whether the use case > is common enough to be worth trade-offs, if necessary. +1. The solution is to add support for lock elision to musl, as glibc have done. Or to use a newer version of the JDK which adds lock elision at the language level. But the problem with lock elision in libc is that it is very difficult to prove that an implementation is correct. When it is implemented at the language level, it is easy to prove. This is why it has not happened in musl yet, in my opinion. Ariadne