From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.devel Subject: Re: Emacs ffi Date: Sun, 18 Aug 2024 00:30:10 +1000 Message-ID: <86cym7w7bh.fsf@gmail.com> References: <86jzgjfwqp.fsf@gnu.org> <87sev78arx.fsf@gmail.com> <86le0z89u1.fsf@gnu.org> <87o75v87n1.fsf@gmail.com> <86frr786k7.fsf@gnu.org> <86frr66s0o.fsf@gnu.org> <86a5hb65tv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34338"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Christopher Dimech , Eli Zaretskii , acorallo@gnu.org, suhailsingh247@gmail.com, gerd.moellmann@gmail.com, nicolas@n16f.net, arthur.miller@live.com, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 17 16:30:38 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 1sfKRx-0008jK-MQ for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Aug 2024 16:30:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfKRg-0001aJ-HB; Sat, 17 Aug 2024 10:30:20 -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 1sfKRf-0001a9-PL for emacs-devel@gnu.org; Sat, 17 Aug 2024 10:30:19 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfKRe-0004M8-AF; Sat, 17 Aug 2024 10:30:19 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2d3da054f7cso1598092a91.1; Sat, 17 Aug 2024 07:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723905016; x=1724509816; darn=gnu.org; h=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=4LThxbagRFFDN7JBbT9TZpo5JtAvbyKsNwIQJ7WWGYw=; b=CA0qkuxQEvPKHdoOCEFElK5krehNZJ5+OVPGsYtN/NnkLmCajZ2edUCxglywYiTu2v W8x1DrU6nT/zQ7wGYfHMEEKQUHOFwtNZGf80HftgOSQ/gaXas445Us8jRbmKElWO/aF/ diAf035GMYYHAjKJ0VXj5Mmz32YevilfXsBkANRC/BF6Rz6ybMxVgSmwYsYzBppB9pEU VZsulXr7XEMZFk/J1Vi0PBB2Ad+8xYARfk2lMsfHjBwehov3BVofuynHIZDJUNDyEUKE H7D+BY6lehc7KdyAdSJ/jkG6sDLLzKqmsQ6eSoiyWTfadX5p2jPlFU3zgdZU9Yl01UIZ FCIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723905016; x=1724509816; h=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=4LThxbagRFFDN7JBbT9TZpo5JtAvbyKsNwIQJ7WWGYw=; b=U5BngAuHVCBWfR1wZqdzV7x17ktPfAat/QpREtq7kaYgPXh9epg7UzJZkCdKQRhvQq m8jM7Y5oh7Yx3NUPDuL5N+R+hRaPOz33I4G+UuO0UAcsvP1MX8H6T+JFtDFgIRKOHyKT vXu79u4UverhIVlGyP/1W9lvLZAhWDN/nzvV2r9ZbFprra9vnhIC52O7h1S4L08nArGx ZRdxAoHdyJqqLsgHBMK0Dimq64oegoJJBAFPTXQOiMqXg5VpmppwkpbSgrXTKS2w4yn3 5gFU0/N/9dFUS+3fAZDyXp1cJd7KCyJf+1CEZslu9Hx/Jy56JJxLsmCGo8X6z2aMbU6u YtFg== X-Forwarded-Encrypted: i=1; AJvYcCVTOdsPabh1687pD7O53G/oxbMRYjPEqKae3mz5Gd+wnmggKUuEQJjIsspKACDgLO6mvWMSmqBTEVwhPrEge2aigdm0zNe5Nk1cm6+1AdFUQlwrlEoxSvC0zCsKPEuI+l3YDo4= X-Gm-Message-State: AOJu0YwW6RAxD8QOS7Y0QizoGW5845k/fjyo1EZe6/pa0vVnvyRjkeg5 n1Asfoazvz220sCjl773YLF7GP73KrbvxYYdiGhGz0A5bF4iqckYMuHuoGfp X-Google-Smtp-Source: AGHT+IHDAI0Jt+8BgglZGq9HAm640pTcx/peN3v4UIijXlr/0CEm59P/jnT+4jmlPP2ceHsQ//fGXw== X-Received: by 2002:a17:90a:f483:b0:2c9:8105:483 with SMTP id 98e67ed59e1d1-2d3dfc6ada6mr6112684a91.14.1723905015726; Sat, 17 Aug 2024 07:30:15 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d3e3c81127sm3962709a91.45.2024.08.17.07.30.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2024 07:30:15 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Sat, 17 Aug 2024 06:21:46 -0700") Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=joel.reicher@gmail.com; helo=mail-pj1-x1032.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:322856 Archived-At: Stefan Kangas writes: > Christopher Dimech writes: > >> Incorporating a mathematical library into Emacs, based on Calc, >> is not just feasible but highly beneficial. > > I think we all agree that a general purpose mathematical library > would be interesting. The point is that the specifics of how it > is implemented matters. "Interesting" is different to "useful", and I think this is why the implementation is unclear, because the requirements of a library can only be made clear by a multiplicity of consumers. What packages, other than Calc, would make use of such a library? (That's not rhetorical; I don't pretend to have an overview of all such packages.) > If you think basing it on Calc is the best way forward, then I > invite you to get started. It needs to be based on potential consumers. If Calc is the only consumer, then a library does not make sense yet. But that's not to say an FFI wouldn't improve Calc's implementation. If that's the issue, then it's a discussion that differs from one about library. Regards, - Joel