From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: as for Calc and the math library Date: Wed, 14 Aug 2024 08:28:38 +0200 Message-ID: References: <864j7qhup6.fsf@gnu.org> <87a5hi0yts.fsf@valhala.localdomain> <86y152ge0b.fsf@gnu.org> <86jzgjfwqp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20148"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: nicolas@n16f.net, arthur.miller@live.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 14 08:29:23 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 1se7Vb-00058U-9N for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Aug 2024 08:29:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1se7VC-0007oC-Vj; Wed, 14 Aug 2024 02:29:01 -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 1se7V4-0007lf-9U for emacs-devel@gnu.org; Wed, 14 Aug 2024 02:28:50 -0400 Original-Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1se7V2-00026r-KJ; Wed, 14 Aug 2024 02:28:50 -0400 Original-Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-58ef19aa69dso6172184a12.3; Tue, 13 Aug 2024 23:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723616920; x=1724221720; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kun8WEAgIAUdl7y5yjRJgNWrLomza9WgOSSbwE4XNIo=; b=X6Um7D7fp8M4Fi7tthFI3ggIy/sB7e6x4vHCYPWx0KLHiqLz6DTnlAJTB9WenSqyKH X1SN5obozZKGpm9ffENOy5c/6k9kbqUPXb8PZXIvycGSKHKQzVybK3txpkTw7JQklP7K Ln4P0wNfwSYfNibMTXgwd9PPp3KHhsHgtsHMWYVuth9g2AHz8DWT0Rf/xHExDmJJohkJ OY5zQida+SueeidE0aGMtad7CNmpaERKO0cT77+xXP8EXP6JZZSOeNgPWbdKSAz/bF72 NbvrR0mSl3cAYGuCLBuot0pWudgLhsyCjxcaW3DIBaABGr+vyRgutavajw6A53L4OM3u RcJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723616920; x=1724221720; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=kun8WEAgIAUdl7y5yjRJgNWrLomza9WgOSSbwE4XNIo=; b=iqt2Eu5MqRAGXWQVaqKAYBLAs9RVYxpyOvII+btyQpJth2wb8fB/JmilXTIQVwvq9g 6yDA5S6/qrBOL+M31XPTMsTjfeK2Yiw9KRH3E+gqvxYCY4epcexfALEmswPHFELe2nzQ gnjrQRheQTUho0DvTKWF5zgg0pwq9ETozNbLLLLJc+911rQiZYAIiIFEMZAVt8/KnjdB rNwGuLC4TO6R/lX2mGu4SB8jjlvbWs9989K8SndUElXKmhLhKr/jgS23dfP/1pxuuKIr RkwKIAV1EspFQuULZoYEM9m2IrvKY53233uOkKK0VCrs4vX4lf3DKZPeK1x4XZqHYO3s C38Q== X-Forwarded-Encrypted: i=1; AJvYcCVJDBzA7M98WcaTLu5GjNQcK1nKTt0iMQidAdRujRCJvx/cOpmB3YMJS/pJvscP6FwCF8TEpPTQPmdQERrZTPViQFxu X-Gm-Message-State: AOJu0Yy9ZZ18hfBZQnWSVQhY4Six/uPhc2HowjV4PYBwXPy2uB/hRpDt 8ECpyiaqHd83j/CpZRhCmzPyWRA1HfyYNx6IuCCH8JiksmW/B4qDE9Jskg== X-Google-Smtp-Source: AGHT+IGzJwEkGCXlAXr7m0PJ0HgIWqC7rYK2qBmxGNsCKCwVGvhCmETklPYjo8kUNcORMllyjxqsrA== X-Received: by 2002:a17:907:9703:b0:a80:bf95:7743 with SMTP id a640c23a62f3a-a8366c31910mr101206466b.13.1723616919880; Tue, 13 Aug 2024 23:28:39 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36ddc.dip0.t-ipconnect.de. [217.227.109.220]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80f3fa69c3sm134471666b.55.2024.08.13.23.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 23:28:39 -0700 (PDT) In-Reply-To: <86jzgjfwqp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Aug 2024 09:23:58 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:322732 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: Nicolas Martyanoff , arthur.miller@live.com, >> emacs-devel@gnu.org >> Date: Wed, 14 Aug 2024 06:11:00 +0200 >>=20 >> I guess an FFI is already there? Or was there because it looks kind of >> dead: >>=20 >> https://github.com/tromey/emacs-ffi >>=20 >> Tom Tromey says in one of the issues >>=20 >> https://github.com/tromey/emacs-ffi/issues/20 >>=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. Maybe one should remove the entry from etc/TODO then?