From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Why is Elisp slow? Date: Fri, 03 May 2019 17:00:41 +0300 Message-ID: <83pnozmyd2.fsf@gnu.org> References: <83tvecocvv.fsf@gnu.org> <87sgtwboot.fsf@telefonica.net> <83muk4obfd.fsf@gnu.org> <20190502214006.4fdsinp7u5xuqvdv@Ergus> <20190503004416.xfuzzucflp6bxpuz@Ergus> <20190503103644.63lccjehmzulaojn@Ergus> <456EE4D4-F542-4F6A-B146-E6B9D72AE93B@icloud.com> <83tvebn1we.fsf@gnu.org> <20190503125832.44ovncaxp3vyjsla@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11978"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 03 23:17:59 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMfYv-0017On-KA for geh-help-gnu-emacs@m.gmane.org; Fri, 03 May 2019 23:17:45 +0200 Original-Received: from localhost ([127.0.0.1]:41164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMYke-0007yq-Aq for geh-help-gnu-emacs@m.gmane.org; Fri, 03 May 2019 10:01:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMYkP-0007yU-It for help-gnu-emacs@gnu.org; Fri, 03 May 2019 10:01:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMYkN-0008Dx-Mg for help-gnu-emacs@gnu.org; Fri, 03 May 2019 10:01:09 -0400 Original-Received: from [176.228.60.248] (port=1990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMYkK-0004bn-M9 for help-gnu-emacs@gnu.org; Fri, 03 May 2019 10:01:06 -0400 In-reply-to: <20190503125832.44ovncaxp3vyjsla@Ergus> (message from Ergus on Fri, 3 May 2019 14:58:32 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120159 Archived-At: > Date: Fri, 3 May 2019 14:58:32 +0200 > From: Ergus > Cc: help-gnu-emacs@gnu.org > > >This is not a problem with Guile, because Guile includes a compiler > >and interpreter for Emacs Lisp. > > > Hi Eli, now I am the curious. > > If that's already done (which sems to be the harder part), where is the > real problem to migrate to guile? I know there should be many, but what > are the known ones?? There were past discussions about that, I suggest to look them up. One of the problems I remember is the basic difference in philosophy regarding raw bytes in text strings: Guile disallows that, and in many cases signals errors, while ELisp allows that, and Emacs as a project is unlikely to change that attitude (while Guile developers seemed to be convinced theirs is the right philosophy). Since this directly affects the internal representation of strings, we have a problem here. Maybe this is not the most important problem, but until it's solved, we cannot even think about moving on. In general, the integration of Guile into Emacs is simply not finished yet, not even close. We cannot land such unstable code on master. And of course, the longer the guile-emacs project is left as an unmaintained fork, the more bitrot is accrues, for example it doesn't support latest Emacs features like bignums in ELisp (although Guile itself does support that). In short, without an active team working on it, this will never happen. (As everything else in Emacs, except that this feature is very complex and needs a significant effort.)