From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Troy Hinckley Newsgroups: gmane.emacs.devel Subject: Re: Consideration for Rust contributions in Emacs Date: Sun, 22 Jan 2023 16:16:53 -0700 Message-ID: <1415ca1e-1547-44bd-b504-05d8e1e9e244@Spark> References: <87pmb664ys.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="63cdc3ea_45e6d486_4fe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7233"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?Daniel_Mart=C3=ADn?= , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 23 04:21:51 2023 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 1pJnP4-0001gd-W1 for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Jan 2023 04:21:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJnOa-0003Ue-FI; Sun, 22 Jan 2023 22:21:20 -0500 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 1pJjaK-000191-Ep for emacs-devel@gnu.org; Sun, 22 Jan 2023 18:17:12 -0500 Original-Received: from sender4-op-o12.zoho.com ([136.143.188.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJjaH-0003Ui-LA for emacs-devel@gnu.org; Sun, 22 Jan 2023 18:17:11 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1674429424; cv=none; d=zohomail.com; s=zohoarc; b=NrXeyzbtjy9bk3F5aptnk5EwvluFmx/zqs5QhZTs3KS+/fzBcPseGdYHHwz6rsc919yqAX+UMwbbCHbuUI/lLXQV/UsRdZ4vrnHbPMU868DeuLarkadwUmXsbSQt3xkrLM25If+gu5f8quT18jHg5tc596EbsLpQAStTBis3lIU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674429424; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=KNXID5vXhoyFXPdVUAtXYftp5AiwunX5IvymQZOzgsk=; b=c+Z5yDlR3WMk9oaHfPdbYK6HLoB5XxAbYc6e3lfrIY3bSAvMe4Wacipesa3+JjQYTRmnT0RDvo7vx48FVqYJGcHVn9lmgiLcBoimeWgtNLpXM0/W2gMTK9e6ynlNEPMd/p/E+heXDOWDYXdgmxPYKXSujd8m964pBUhF+yNGj4Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=dabrev.com; spf=pass smtp.mailfrom=comms@dabrev.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1674429424; s=zoho; d=dabrev.com; i=comms@dabrev.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Message-Id:Reply-To; bh=KNXID5vXhoyFXPdVUAtXYftp5AiwunX5IvymQZOzgsk=; b=jSXyZIjXSem/Q2rtPwluj2sRsOhLiIenkegHAZfEcD35jbHWwNp7VHw19ur+OD5q AoQRVXp4fk6lsbF0QLD+vkSWcdjvl0NETf4Xwnzfh1UWJFcFRE99YCg2pxQbjM2Ljzr BTXzrR7tZ/pye3q8KRfZ5txCT/oO10MU+Z4XL+IU= Original-Received: from [192.168.1.122] (h24-54-181-16.ftcmco.broadband.dynamic.tds.net [24.54.181.16]) by mx.zohomail.com with SMTPS id 1674429423448689.0896089602472; Sun, 22 Jan 2023 15:17:03 -0800 (PST) In-Reply-To: <87pmb664ys.fsf@yahoo.com> X-Readdle-Message-ID: 1415ca1e-1547-44bd-b504-05d8e1e9e244@Spark X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.12; envelope-from=comms@dabrev.com; helo=sender4-op-o12.zoho.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 22 Jan 2023 22:21:19 -0500 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:302604 Archived-At: --63cdc3ea_45e6d486_4fe Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you for your replies. This matches my expectations, but I wanted to= confirm. One thing I still have an open question on is using non-GPL but GPL-compa= tible libraries. Ignoring Rust, would that be accepted in C=3F Or do all = libraries need to be GPL as well=3F On Jan 22, 2023 at 7:04 AM -0700, Po Lu , wrote: > Daniel Mart=C3=ADn writes: > > > This answer is not exclusive to Rust. I don't see any clear net benef= it > > from using another language along with C (even C++) in Emacs core. > > Exactly. > > Now, if someone wants to contribute a port to Redox OS, and the port > code uses Rust, that would be something else. > > =46or example, the NS port uses Objective-C, the Haiku port uses C++, a= nd > the Android port uses Java. > > However, Redox has a C runtime, so I doubt that will be necessary. --63cdc3ea_45e6d486_4fe Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Thank you for your replies. This matches my expecta= tions, but I wanted to confirm.&=23160;

One thing I still have an open question on is using non-GPL but GPL-compa= tible libraries. Ignoring Rust, would that be accepted in C=3F Or do all = libraries need to be GPL as well=3F
On Jan 22, 2023 at 7:04 AM -0700, P= o Lu <luangruo=40yahoo.com>, wrote:
Daniel Mart=C3=ADn <mardani29=40yahoo.es> writes:

This answer is not exclusive to Rust. I don= 't see any clear net benefit
from using another language along with C (even C++) in Emacs core.
<= /blockquote>
Exactly.

Now, if someone wants to contribute a port to Redox OS, and the port
code uses Rust, that would be something else.

=46or example, the NS port uses Objective-C, the Haiku port uses C++, and=
the Android port uses Java.

However, Redox has a C runtime, so I doubt that will be necessary.
<= /blockquote>
--63cdc3ea_45e6d486_4fe--