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 06:11:00 +0200 Message-ID: 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35230"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Nicolas Martyanoff , 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 06:12:10 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 1se5Mo-0008zj-C3 for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Aug 2024 06:12:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1se5Lo-00053O-Os; Wed, 14 Aug 2024 00:11:08 -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 1se5Lm-00052x-5t for emacs-devel@gnu.org; Wed, 14 Aug 2024 00:11:06 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1se5Lk-00078m-A5; Wed, 14 Aug 2024 00:11:05 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5ba482282d3so7633787a12.2; Tue, 13 Aug 2024 21:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723608662; x=1724213462; 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=L2P9Kk81Ig/J7QscVdEbi83xMiDMZHkLbLdfizhNO+s=; b=YDRiUGknn3RLjD4J9aQG0CpviXRn98WrTd0es1UwZNQUJpkfXxIk/dcu1uebK53Z1P tmeEjv1JEqNhrz53JIlROWqjspJ6wHZ5qvbLulS9eaHl3UoF8Jc3itVtCNsNSW5+Bz+A 0GABGaZMivIe/Ua/3tC632dqbAW5Sj8eEfm0072Bi/oSADRxUHq1Lpi9RfZk+UE6Vk2q rcPTlLC2J+Fo7uxg13QekjGYBaHaW/Z66jqmveyU+w7PkX+qkeOifbF98na5wqeyhnds cDAo5uX5lil9YGg83Ga+6j2vO2YncAG3FE4DPZnOrvqICnFKT+1lAnAW8RZdgRkUN3+q qKpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723608662; x=1724213462; 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=L2P9Kk81Ig/J7QscVdEbi83xMiDMZHkLbLdfizhNO+s=; b=WeKSSPaQ1B0IPV7ywluWT6Pqk0eDzzPZimMGGU5w3xtK2+piBxwBW9Yk64Qnh+9yyx k1f/gg6pwxFOypipjztWag37qmzIUTDRFY2FFW4UUXR8DqmjSAgORBmcgav48sxi5CVF XadP6cxnD9w/A4Fitt+RrQSEYU3FyOAsrKILaQeBBq3r8pKWy3STnfLHVSc4l2EEc8k9 hA6pUM2lEBpy7KABE4oiMZ6SdLuCpuZfvBvQ9RNtgCOidICLfJbzvO0LhCpMwL2EKxRH p+TGKZyCJpX3ABBP/n5smECsqTmjK8R/YEno6DZGkbjkMQqj8ckVTjgYA5/ye/GtwTZQ lwqQ== X-Forwarded-Encrypted: i=1; AJvYcCX/IL8QacLRwi5QN5rBmlaX3PrFeAgKItbFpoLkA5yBN+41/jB95zk5SJEet7YZXm1DMJIOVAJBY5LfkEXkIucBbnF7 X-Gm-Message-State: AOJu0YxapLvI8bQz8Fo1ZiwomsZqmuOzQxmlCkaViDXw53RPXbjYR1ea ZaNqBdQVofOgcl8+Bh0gxZOUA2xbZpAKBrlUNVTjcBWnYq/DLg5IGY4RUQ== X-Google-Smtp-Source: AGHT+IEDHqWeID9v+YqOKbp0YKDS2584AsgwoZVE+4pvm99hrgDXGRJKz3C3oMzIbJ+iZkCtQSKYuw== X-Received: by 2002:a17:907:f72a:b0:a7a:a30b:7b94 with SMTP id a640c23a62f3a-a8366c3ccfamr83590266b.28.1723608661716; Tue, 13 Aug 2024 21:11:01 -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-a80f414afe2sm124766266b.144.2024.08.13.21.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 21:11:01 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 13 Aug 2024 07:39:02 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:322725 Archived-At: Gerd M=C3=B6llmann writes: > Eli Zaretskii writes: > >>> From: Nicolas Martyanoff >>> Cc: arthur miller , emacs-devel@gnu.org >>> Date: Mon, 12 Aug 2024 13:23:27 +0200 >>>=20 >>> Eli Zaretskii writes: >>>=20 >>> >> From: arthur miller >>> >> Date: Mon, 12 Aug 2024 05:30:08 +0000 >>> >>=20 >>> >> Even better, given people proper FFI so they can import and use any = of the tens >>> >> or hundreds of quality math libraries available. >>> > >>> > Not going to happen, and you know it. >>>=20 >>> Na=C3=AFve question, why? >> >> Because providing FFI would allow using non-free libraries in Emacs. >> >> We made the effort to allow loading dynamic modules precisely for this >> reason: to allow free libraries to be used, but not non-free ones. > > There is an item in etc/TODO about adding FFI, as an important feature: > > ** FFI (foreign function interface) > See e.g. https://lists.gnu.org/r/emacs-devel/2013-10/msg00246.html > > One way of doing this is to start with fx's dynamic loading, and use it > to implement things like auto-loaded buffer parsers and database > access in cases which need more than Lisp. > > Now I'm confused. 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.