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: Tue, 24 Jan 2023 08:45:43 +0800 Message-ID: <875ycw69qg.fsf@yahoo.com> References: <878rhuc79x.fsf@gmail.com> <66c86c61-93ac-4723-81a4-ced034f61550@Spark> <87zga9tln8.fsf@web.de> 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="17437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Troy Hinckley , Sean Allred , emacs-devel@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 24 01:47:03 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 1pK7Sp-0004Jt-4n for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Jan 2023 01:47:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pK7S1-0002qy-5U; Mon, 23 Jan 2023 19:46:13 -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 1pK7Ry-0002qc-2S for emacs-devel@gnu.org; Mon, 23 Jan 2023 19:46:11 -0500 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pK7Rr-0008VK-SS for emacs-devel@gnu.org; Mon, 23 Jan 2023 19:46:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674521159; bh=mkqGT1hy5hGk4XKV0JTqchTwZY/tL/0Wj9+EVBWMMQk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=YN/vkAShDmhU6lPvCbLej1FOsNw+ebSLRO280ugD+RA6Ui9iFjqw18zAlgoTczaM5Zo3hq/eqo97h11BQL9IEAhSOUSTnQYfZHdzqm4ep2Sl7/XqQ4jv4GdvHSPF0/g6TzQpcdzYj6DVkhFVUPNxrHwYdP5WKEv87+ph7xjylxwKLZpRpY9nyiLIR10/dUIZoEBtxpQ7fyX/IH0GBawqYIH6cdjHKwUfDSmiDWrDcmi1EB1B+XV7iUDzJ4+ppqqjnn2M6PTEb6hL03sm3b/JyH0L6xNUmH+AIMFfZnpmp1zPRWwK3PhAAUxxBAX+kFrA4nA/oMyFcaIN3Uzqx0p8kg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674521159; bh=NMdQSP+I4l3AhCI/9ue6c5azaglJ3En5ogZo8o7Mvo+=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Cq0YTgqn0G9YafqbN2Lbn7sWzoM2+8G3m5+IxMD5r5+iPV6RSSx21ddd0mD9uiGAmhMAiYqJdlOGbX1itqI9ZbkWsl49I85wSgiZuAdza9A7/WPcCUAIelMNe+IwsfHIpv6ytGlleRNBfjAHeSNRuHGvjhhi7XXx6/RsSceOHFrSaKNSaSRGEZFvlz8L9484OapPFCwKbZ87yx1a+PNXxRYS0RqFkQmDp3BlnmwYAYDoV0Kw1wDYoAq/oXahTp42jX/x5g9QYpQjJJ30EzGK7VuKq7DSIb5Gy0/0jSJ/2xlalYIWFkO+AXXqQWs+hp4qGAn10aJhBob5YAQLbpovMg== X-YMail-OSG: iLI_OBMVM1lQFYF6T4cRGtS5LCzqX6ZXbAC86xm7rZWrYzYiaEscyi.6tcYq5Ea wa_9vStg9ByEuaFmA3to8HcFyLTIxXy3phGrkd.wZftyP24SIQI0AjNtSxepECjH0sh0vFQZTOwZ hzo1R36JFVzQWJp7pMje7M9lGmMYI6xJMDYshf1KAyupdcYX57uVI8vxo.R.NT.qzD1aQIY68.XW _hdNQ5ITrVW.2jrP_ZnQUOGeRAtOBoQkHUU6vvV19DXuhWHiLne7XPTbLO1H1dpFVAD7RBWzB9Z8 xvhwktTaVr0kgpwURR5SBKP5uVEK.ZVWx0GAeEOKlbvNFRircdH6n0p6Q5uIWUbMQqOrFDV7Nfho ImUrLp8PUNT8jkaoilANaGuJsssXOyuCit_36HSU5sTrhkNI1IIj_MDasa1y4ycVhzc7o4YjV4.d zQnDnVcIkuft1gsWoiB_k01NIxap8RC3KV4YzCuebSSpIQkYslXxfuXju.RPeAwCrm26gF8Ke5Cs XFvSHMKIssls9VfRBka.G4JFG0LRbc7s..z0_H2J_sLPsWY9y0RZwEi_BCE2cJrEXQDaKU54E2_h 9Cbs2DrU0S5tLU6GW1TQ6GQ3pY60naEf4HgueffcKdb7xCpCRM9ruHWwXPGySDdQQqxMJagi01BP 3pOsoKe_cytFA1ZtkaAjiXcP8Ll7_J8JM86ntIN8WglSjWGHER3Yrnwk2LeWmIHbaBAYIP002qXt mgMgBbbYqOefhRHHJicyBDC_TRT0ks8qxTgYm5dqyzUu5Fc4IM191LyHZBdUhmEY0eLdV6u.WvPY j._nMEMVbRnNDCpxbv7iJmX1DV_08PTDwjx3xdypLv X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Tue, 24 Jan 2023 00:45:59 +0000 Original-Received: by hermes--production-sg3-84766d64d7-zxbsm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 86b19b8e147f639b17448dc4522c2b54; Tue, 24 Jan 2023 00:45:54 +0000 (UTC) In-Reply-To: <87zga9tln8.fsf@web.de> (Arne Babenhauserheide's message of "Mon, 23 Jan 2023 14:21:58 +0100") 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.186.206; envelope-from=luangruo@yahoo.com; helo=sonic310-25.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, 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-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:302630 Archived-At: "Dr. Arne Babenhauserheide" writes: > GCCrs might help with that: https://rust-gcc.github.io/ > > Once that=E2=80=99s released and stable in GCC, Rust is finally safe to u= se for > those who want at least two independent implementations (like me). The language standard library must also be ported to both the Unix and DJGPP platforms. On MS-DOS, it must also be made unexec ready, because only the unexec build is supported there. > Also the gains from memory safety are much lower than for much other > software, because in Emacs memory-safety is already provided by elisp. Has anyone even demonstrated that memory safety is a problem for Emacs? The only program where it matters, that runs on most computers, is a web browser. And even there it only papers over the more fundamental problem, which is that web browsers provide an easy means to run proprietary JavaScript code without the user even knowing it exists.