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: Tue, 13 Aug 2024 07:39:02 +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="19672"; 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 Tue Aug 13 07:40:31 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 1sdkGk-0004u0-1W for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Aug 2024 07:40:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdkFi-0006qs-JE; Tue, 13 Aug 2024 01:39:27 -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 1sdkFR-0006pp-JI for emacs-devel@gnu.org; Tue, 13 Aug 2024 01:39:12 -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 1sdkFP-0005Z7-Nv; Tue, 13 Aug 2024 01:39:09 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5a79df5af51so9009705a12.0; Mon, 12 Aug 2024 22:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723527544; x=1724132344; 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=AbE81/nzqOLGn40/MjwHW1FJCWiKYuCiyVOUG0dmFlI=; b=I+W9rnishjxr/D07ykhwAau08OkIwvyvHLKKmi3pP204WUpmuiB1sFMc3I3sfH+CqN MunK/9GQHa6VWtJ8LAyTSHO7yE8BV+fWeiAKVpd5cV9kvSkx7OWwknMlhnkIKUH3dXXw Cw0Un/XIBsfaz8qDiJGX8/OeBEPv3SdIr8xdmZgmB7cYFTdpuHCOmJaK2sA+FEOYkoNW hkItRBeTLGaraDh5wxFnP5Q0ejG4rjEBG7co111NSDkL892+CxhHwBSL93nPsi7gqdEJ tOElrmGZkWrEbDvB/rWURedGcBzbvgLM9hGcxKbpI184dh+3qM0mxVKehv1LdBijZh8G fNaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723527544; x=1724132344; 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=AbE81/nzqOLGn40/MjwHW1FJCWiKYuCiyVOUG0dmFlI=; b=jTJelAvZnbCYCil3nXjPwgSKPBvvlCbOd8mcSriIcBDxN9R5CIb/J067oLLIkUqW8P tPT/0Sjp+hk0R9+R2vwIKtaZR3lk47AqUw6psVkVRd2uTchUgF8Bf60XHTYmIzpLktb9 tctJdDjkfbEFjAl69jb6jInMyZL/s4T/BRzEQzZy0m7Bv3LWExhtmw84jjL/+Vc6qbp3 5UteV0RVVwC3/xQnORhaC5JLiYCiNd+C6VgeToRN6D9AI4Mq8NHhEvqyU+Bo0k30vNTy WRAk+X713R9ov34T8E71yZX+2+RjhoTFgL/+KV1z8az6SgRmXmuWrEkDTRHRN2PtTQfX uXiA== X-Forwarded-Encrypted: i=1; AJvYcCVhFosV26ZJsHqSOcmxITAEUpHv7/cIX1khsljin56v1sxFNDOUHZUAgJS3XO1DG0A/bffU7ZwXz22xJRGL3IRAgNnF X-Gm-Message-State: AOJu0YyHSVjLRB6vBMLi+HMqrzMM6VGtTDDA0vywZr68fjgSN/4mlzQu UR2ej+9jVcbvA8a1FmUB2cRBs9gTjQlKyh4keFSq8Wio+mNANpurT3b4Kg== X-Google-Smtp-Source: AGHT+IGPupRvLLBV011NYzrQyzDqF2Fft5pUZQQzw4U2i3W0eX55aIp31KxBavNCeetRXBgnOQoDTQ== X-Received: by 2002:a17:907:7d90:b0:a7c:d284:4f1d with SMTP id a640c23a62f3a-a80f0ba58b8mr130123466b.28.1723527543930; Mon, 12 Aug 2024 22:39:03 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a69b.dip0.t-ipconnect.de. [79.227.166.155]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80f411b4d5sm37769466b.119.2024.08.12.22.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 22:39:03 -0700 (PDT) In-Reply-To: <86y152ge0b.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 12 Aug 2024 14:46:28 +0300") 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:322689 Archived-At: 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 o= f 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.