From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Re: Emacs ffi Date: Sat, 17 Aug 2024 17:36:34 +0200 Message-ID: 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; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22766"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 17:47:19 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 1sfLeA-0005n3-Rw for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Aug 2024 17:47:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfLdd-0008PA-Bd; Sat, 17 Aug 2024 11:46:45 -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 1sfLTx-0007MW-76 for emacs-devel@gnu.org; Sat, 17 Aug 2024 11:36:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfLTu-00049i-JL; Sat, 17 Aug 2024 11:36:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1723908995; x=1724513795; i=dimech@gmx.com; bh=Dr5fb8E8dEauXCZogF90knYUxXhpo9SP+17//YsGTjY=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Cc:Subject: Content-Type:Date:In-Reply-To:References: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=UKQU1Ku0AEXOkF3N2TSWxcgg8iNQho+esHHfKqUhOtEONGoRCsX2BXb1bGopvwwW Yq0DQYu+yMIgVMoxtmwK4T7Pb8VPXoWfCWscV6ojWkMcO9LkfrEe1Q99uWjjtN5+h K6ZA34Ov/TDBG4F9cf2jsgK747z3ZtTZO1CyrPX2ZCinFzQsisnyKfPrCJhRySOWq iGKxbMXRavw1jq79SzPWVmDsw1N1JjJPZBnnpOZO5H6sK0CaL2vJrvrQzw+gCW8Hj rkltLMWguUFpPsZQojzjx4anlkruUKFmuU75XU03wv4ga9WubPW2HF1haak5568gt oXBcB6QAKy/417iolA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [92.251.79.197] ([92.251.79.197]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Sat, 17 Aug 2024 17:36:34 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Zcmp96lTOn1OSSbDPpWKTo4e6E6IXpk/Dbg9BJyBjMHzUZ5f5Xz/R8RJ3gvpHL1b3IkOn BX63f3p0iq+dRUKqndn3zOLm5A99y3QS4MtJQAhF4wzEOClDmfPyTkxs4P303gl6248kKOwhUQMA u6oRZ8N36llpDt7yeEhtfu32XY6I8/5frubaKSRfZfpv7Sk8DUfoHaM3Larhx9GHJuVKICEYCdjj JqxG/dUfopLQrOHYigZ8T7D6iIxeEoQrcTnuvsaCPmdg6G55FAf3uxwT1uQJjOY5b9x/6VdZAey3 h4= UI-OutboundReport: notjunk:1;M01:P0:ivzjAsqHMuc=;zbzJNGnArJzpRifSAxECKtVrWyR E80lWvcRxSXM89pmijfdBjlsqZtuv2o4f+UJp5wdAkdpGNwxCSpprjZU2CZsfONS3Oq4JKWlk K2aF4fX6G3xLVXxFE4/eJPDf9qxCJNhHPSYdiESFgepmRhmVEDPzKHyBdtgGdoDZLH0ljS6Y6 iwVjUEy70S4ZaezldTBFD4ztqkAtYuafEES2ftLWba864xzrXr/ngvuExNKnArG7v4dnOVOpR gdhPF9W21KjwIN8sYFO2acki5gF5j94lI0imeoUzGpEnTTudDY9zgaLCRKdRTrOLvWSbDL164 QZskDRjBq+MOi9I2bz9v8kOmO/Dn2lKA4BZiU2TgZtUZ5Jfm8J/rJ5Y3nFI469l0KUezdjVgK a5lYZlRcQyFwku3gbRqWukMuC7IT7Z69ACf/zIIrTzE0bheigs8ifvcjHFXrXKwp3hLvPYbGc STNwtAI66zDXkyOBP69hD7ht83p84zxaKwFLPHFWKVeZCq0Vo/TlvIlDDmYAgN/rpIXPvBav2 FyJ32UProFYSWhdu6Pc8/TcBdolExfcUiEoAcWxE5oCZ3Yo7pSbcZ195olWbHk++uTy5PdG3+ /pLjRWRRD2ucoI7Op03d54YMUawe62QVbazOkYp5EoUbSNMhyOnjLuitvOXIT6YuetZ7F3CdE DncyDeg6lHIf4DP1PjnXRfrwLmm5W5L5XrhWXrohKg== Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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-Mailman-Approved-At: Sat, 17 Aug 2024 11:46:42 -0400 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:322862 Archived-At: > Sent: Sunday, August 18, 2024 at 1:21 AM > From: "Stefan Kangas" > To: "Christopher Dimech" , "Eli Zaretskii" > Cc: acorallo@gnu.org, suhailsingh247@gmail.com, gerd.moellmann@gmail.com= , nicolas@n16f.net, arthur.miller@live.com, emacs-devel@gnu.org > Subject: Re: Emacs ffi > > 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. If you think basing it on Calc is the best way > forward, then I invite you to get started. I mean this sincerely. Others thought that basing it on Calc is a good way forward. It does make for a good library having looked into its mathematical capabilities. E. Berg's initial inclination to create a mathematical library for Emacs was a commendable idea to expand the capabilities within the editor. However, he did not want to delve into Calc, but on his own implementations. The disappointment to some was grounded in a strong argument from the core Emacs developers, who emphasized the importance of having a robust, well-integrated library that could match or exceed the functionality of the existing Calc package. The high bar set for quality and integration within the Emacs ecosystem means that such a project would be a major undertaking, likely contributing to the reluctance to pursue it. > Unfortunately, this discussion currently seems to be going in circles. > Since nothing helps ground a discussion more than working code, I > propose that we revisit this topic when we have something more concrete > to consider. It is for the core emacs groups leading the development to establish the principal design that is user-friendly and flexible to allow for easy extension, without imposing overly stringent requirements beyond what is typically expected for standard Emacs packages. My role is not to overstep but to provide occasional input. At this moment, it's unclear whether the decision will lean toward implementing an FFI (Foreign Function Interface) or pursuing a different approach. However, having Emacs provide a built-in solution seems more conducive to seamless integration, allowing for a more cohesive experience. I could contribute concrete mathematical operations and assist in refining the library as it evolves. While it doesn't need to be a comprehensive solution, it should be robust enough to meet current needs and provide a foundation for further development as required in a collaborative approach. Ultimately, I adhere to established design, working within the framework set by the core Emacs team to create a valuable tool.