From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Consideration for Rust contributions in Emacs Date: Mon, 23 Jan 2023 20:25:48 +0800 Message-ID: <87a6295tf7.fsf@yahoo.com> References: <878rhuc79x.fsf@gmail.com> <66c86c61-93ac-4723-81a4-ced034f61550@Spark> 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="7807"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Sean Allred , emacs-devel@gnu.org To: Troy Hinckley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 23 13:26:59 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 1pJvud-0001nx-0g for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Jan 2023 13:26:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJvtu-0002Fs-Af; Mon, 23 Jan 2023 07:26:14 -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 1pJvts-0002FW-Bp for emacs-devel@gnu.org; Mon, 23 Jan 2023 07:26:12 -0500 Original-Received: from sonic311-23.consmr.mail.ne1.yahoo.com ([66.163.188.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJvtn-0006Kf-0B for emacs-devel@gnu.org; Mon, 23 Jan 2023 07:26:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674476762; bh=urVp/JJW6ea7o5Lvvu2oLlihz9LSlc+sRsP7DkGdppQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=RbK6MLyVmUPd/RiAVFBm/L8q7XRXHlajlPOU6cj69MajRwke7bJFYU+RKwkIpY0BCbACjMyZ5xYEtYFPbx93WBjA1kvVyslkWdXnYUlXygNHPKEhZu0KHLxB6uQII/flUu47ltjUmg9vtpBRK75yZyCAwhRoQV8fWKe2cCcfLdp07WY98uulqjprkdEFmi7Bu7556kPLBf9+h11gtrp3dYmUqshH/zz7rqrmW5JFWnP6SKpVOD6AFmxroIJmXo0RTIXp82tqPwGQ3IIuYP0XrJG5qeYuHR6HY/xnG8WRhLGYPMOVL8Yv9X1aKKWtGqijgsnzUXWFJWS6ATrlfPtfUg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674476762; bh=wOSUQqOJXzkyqNqH60OaVzrXcHSSpQkDaG3iLagX83w=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=RKj7qbsNUKDKnTWGny6n6aTxpwLdDbbXoNkAL415MbkwyK2UmhBcO9KOR/eLq34Xz0ibGtH69oxCmYVVte34StGTcr+DrCQWqENDQLXdLIUES3am6Bi7dB907uZvNuFO5IBZXYql325rpno2rL4yZCyrTsVRY30Z49/4nlXeRTyhdKhPPH+YxHDWjY0Jr3CsiLKFzyxuhuT1OpbcHR+EfTaaFDKX3qu6S8AGHDo+/jkNqICCrw3JHt0RzPj2XzicS+fpv7vX9Z+LM3SAQgu4oWftYLq8hPdB3qxnB9LTK5rrKySiaxr/K77uNHuEA0zcMkw0D0bsgm8AnuYiK11/IA== X-YMail-OSG: Uc9Uy0wVM1lQEcnF28kwNn68cHwqXXQimDzYdRNovohBJwAeZ0lDfcg_Ge8XaP. 4201ZecczEwS8PdGWLCNJZKhIEqF8Ro2ZSA1_W.w3NkxHw05Dnf4_j6Wsm4xJr_03k6FiIWg3WeE fOrGinY6IsVKpitXk3jTYgAzIwpwUKpSLiChzRifwvQbrn.t.KyGhXtMSibOTAlOeTTMKsclL0_S gILfoBHXlKyUUd_laSJpF7E_.p8jZzDaIeAEdMSBKdfQ5bGHE9Fu6553.CIk4yOaLaAUvl19QkiS lW9LEtPC_QfU2tbbO.uaL.50qfhASQAHXnY_fBRHUwYLT9yHr0FOXL5wJMCNn_me9DG5F59dzru_ u2a21UDAQaZ9pRxZjvxRiuw7ndE9exJdC1.Nzvv_VOuxRtFbjXvFW.JfwF0CKubvc5Dl8Ob6Yo3D Q1qRVS4KYs_foAdcZvcQ_BDYz2Iz1dDOla1YY2wx3nsVDQ1HaDUlo8rPCVt_jmnKjFja6x._TVL3 a8.s0rxlP3LdLDUdtUo_Zb8jj7IexbGZuVnxrJ.8s1aicJ86bu49DPkA5f5kNilLGS_GGZ7vNd2k m5N8qHHizQU9QGpfhxSFsERae.9D2em_dEQV1u1HfxfCrETLgmhCX1RVAkxdbddDj6pDS50D2AL3 jH7XKqb4h_ujQ26nAET2l5vs_FxpKLINLVacNrmRWUYfBQ04Z7vYB0YBkYtFxkCSWwliFr1tTOd2 k.UE__Yfzv7GOJR.9UmdKIiLO4FABTSd7ehnD.Y3KA4pdH5oJ3ybC.nV3vbgpAllXhhc0_CH.Os5 6fLZjOlBO48MQ5OMGJ5kOSh0_OQ9kBXb7fn0H1CeyJ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Mon, 23 Jan 2023 12:26:02 +0000 Original-Received: by hermes--production-sg3-84766d64d7-zxbsm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 991a4284ff349989bac894e472e2eea6; Mon, 23 Jan 2023 12:25:59 +0000 (UTC) In-Reply-To: <66c86c61-93ac-4723-81a4-ced034f61550@Spark> (Troy Hinckley's message of "Sun, 22 Jan 2023 20:37:09 -0700") X-Mailer: WebService/1.1.21096 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.204; envelope-from=luangruo@yahoo.com; helo=sonic311-23.consmr.mail.ne1.yahoo.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 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:302610 Archived-At: Troy Hinckley writes: > Thanks Sean!=20 > > I should have been clearer in my question that I don=E2=80=99t have any R= ust code that I want to contribute to GNU Emacs, and I don=E2=80=99t know a= nyone who > does. This is a hypothetical.=20 > > I don=E2=80=99t think Rust should be added to the Emacs core. The core is= well tested and battle hardened C and Rust would not add much value.=20 > > I guess a clearer question would be: are there any fundamental/ideologica= l reasons Rust could not be part of GNU Emacs? Ignoring technical > trade offs and complexity etc. There are no real ideological reasons. The fundamental reason, however, is that Rust is an unstable language, it is difficult to learn, and it is not portable. And Emacs has a long history of being asked, by others, to rewrite itself in a such languages for benefits that never materialize. > Are there others? I am particularly interested in issues surrounding > licensing, such as the question I posed above about libraries. As I explained earlier, it is probably morally fine if the library is free software, as long as it does not promote SaaSS, load proprietary software itself (think web browsers), et cetera. For it to be legal, the library must be GPL compatible, or a system library, but nothing says it has to be under the GPL itself.