From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Why is Elisp slow? Date: Sun, 05 May 2019 00:41:28 +0200 Message-ID: <86woj5u9k7.fsf@zoho.eu> References: <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> <20190504133218.g3ysx3ksuyvlthg3@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="129827"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 05 00:42:05 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 1hN3M5-000XXi-6X for geh-help-gnu-emacs@m.gmane.org; Sun, 05 May 2019 00:42:05 +0200 Original-Received: from localhost ([127.0.0.1]:33664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN3Lx-00043a-30 for geh-help-gnu-emacs@m.gmane.org; Sat, 04 May 2019 18:41:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN3Lk-00043J-Qo for help-gnu-emacs@gnu.org; Sat, 04 May 2019 18:41:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hN3Lj-0000fZ-Rp for help-gnu-emacs@gnu.org; Sat, 04 May 2019 18:41:44 -0400 Original-Received: from [195.159.176.226] (port=35324 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hN3Lj-0000eS-L0 for help-gnu-emacs@gnu.org; Sat, 04 May 2019 18:41:43 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hN3La-000X6h-LT for help-gnu-emacs@gnu.org; Sun, 05 May 2019 00:41:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Cancel-Lock: sha1:QVrm/mb2hPsCyDqi5Qp3PiDykgc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:120193 Archived-At: Stefan Monnier wrote: > Also while I much prefer Scheme to Elisp (or > Common-Lisp for that matter), I'm not looking > forward to maintaining Emacs packages in two > (and more) different languages, and other > maintainers are probably imagining such > maintenance nightmare with a lot more dread > than I. Except for some other advantages with CL compared to Elisp, which I take it are there for natural reasons, is the reason CL is much faster than Elisp, and even as fast as C, reportedly, using the Steel Bank compiler - is the reason CL is much faster than Elisp that CL can be compiled for real, and there is even a "a high performance" [1] compiler, SBCL, readily available to do it, *meanwhile* with Elisp you're stuck with the mere byte-compiler? So then the first question, literally [2], as formulated by a wise but in this case ignorant man, is: Why can't Elisp be compiled as well? > From that point of view, moving Emacs to > a Common-Lisp implementation would make more > sense, since there is a chance we can > *replace* Elisp with Common-Lisp in the > long-run, rather than adding another language > on the side. I think that'd be great, but instead of having CL on the side (or "Elisp on the side", if you will) is it unthinkable to add a module _to CL_ so that _CL can deal with Elisp_ with its usual toolchain? [1] http://www.sbcl.org/ [2] http://lists.gnu.org/archive/html/help-gnu-emacs/2019-05/msg00008.html -- underground experts united http://user.it.uu.se/~embe8573