From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: as for Calc and the math library Date: Wed, 14 Aug 2024 09:23:58 +0300 Message-ID: <86jzgjfwqp.fsf@gnu.org> References: <864j7qhup6.fsf@gnu.org> <87a5hi0yts.fsf@valhala.localdomain> <86y152ge0b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: nicolas@n16f.net, arthur.miller@live.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 14 08:25:06 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1se7RR-0000Vf-1C for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Aug 2024 08:25:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1se7QS-0006OY-VK; Wed, 14 Aug 2024 02:24:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1se7QR-0006O1-67 for emacs-devel@gnu.org; Wed, 14 Aug 2024 02:24:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1se7QQ-0000tk-8h; Wed, 14 Aug 2024 02:24:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Kn4VJc837t8ZO5CSjL7P63QMYiek6cf67iLijPpuSsg=; b=noEf8CR37vVOey2dNuP1 kyLPYfaKeyGWINX2eN5TGXP+oYxTY4oypJ7RRYKOXv94hi/Dm61DD2DzJdccHebWuMwOoJSBRya57 h00xStZR5eLkYeZFnQtd663AZgRyj26IEZu/I6uvKdaodE+jxELpdZG5b00P6AYXk23XuFeqC6vl3 d29BlcL9Fk99obEw5O3f5VS643eGEwIwlJHWgqtaq+6EIlk0j2T+p5+exE9xoaOgFqAMdqiNMag78 inFgTc+cV4bAFyztH7de84ZL6TxHDSkuuDjt9znd/4lLxKyM5HnMoY6m8Ynmg/Pu6nyqHIdXNWA2k 3Ewg8zx5DydT8Q==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 14 Aug 2024 06:11:00 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322731 Archived-At: > From: Gerd Möllmann > Cc: Nicolas Martyanoff , arthur.miller@live.com, > emacs-devel@gnu.org > Date: Wed, 14 Aug 2024 06:11:00 +0200 > > I guess an FFI is already there? Or was there because it looks kind of > dead: > > https://github.com/tromey/emacs-ffi > > Tom Tromey says in one of the issues > > https://github.com/tromey/emacs-ffi/issues/20 > > that John Wigley asked him on IRC to submit it for inclusion. Can't find > anything on emacs-devel though. It doesn't ensure GPL-compliance, AFAICT, so in its current form it cannot be accepted, sorry. And I'm not sure I understand how can one technically enforce GPL compliance in FFI-style loading of arbitrary shared libraries. The only idea that comes to mind is allow-list of known libraries, the way we do in sqlite.c, but I'm not sure that method is scalable to the basically infinite world of arbitrary libraries.