From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Is Elisp really that slow? Date: Sun, 12 May 2019 17:46:54 +0200 Message-ID: <87a7frvfo1.fsf@telefonica.net> References: <20190502214006.4fdsinp7u5xuqvdv@Ergus> <20190503004416.xfuzzucflp6bxpuz@Ergus> <8736lm30lz.fsf@web.de> <864l61j04d.fsf@zoho.eu> <20190511073254.GB29829@tuxteam.de> <04187AB9-AD7D-492D-A890-BCB01848370C@icloud.com> <20190511075712.GD29829@tuxteam.de> <86a7fsfv1m.fsf@zoho.eu> <20190512075448.GA11650@tuxteam.de> <346107E9-590D-4A18-9152-ECFF36FC4EDC@icloud.com> <83r293bvok.fsf@gnu.org> <87ef53vihw.fsf@telefonica.net> <83mujrbsk7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="191163"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (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 12 18:08:19 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 1hPr1P-000nac-3t for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2019 18:08:19 +0200 Original-Received: from localhost ([127.0.0.1]:44807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPr1M-0006jA-Lh for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2019 12:08:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPr0y-0006ZY-AW for help-gnu-emacs@gnu.org; Sun, 12 May 2019 12:07:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPqgw-0002Cg-O3 for help-gnu-emacs@gnu.org; Sun, 12 May 2019 11:47:12 -0400 Original-Received: from [195.159.176.226] (port=57324 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hPqgu-0002AE-AD for help-gnu-emacs@gnu.org; Sun, 12 May 2019 11:47:08 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hPqgr-000PZX-Qj for help-gnu-emacs@gnu.org; Sun, 12 May 2019 17:47:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:jZ1SxxZw8Fi71Wwf9k19T88tGJc= 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:120323 Archived-At: Eli Zaretskii writes: >> Emacs is amazing, but as far as productivity goes, at least as a >> programmer's editor for popular languages, it is far behind current >> contenders. > > You've changed the subject, yes? This was never about productivity. > > I agree that our situation with IDE features is quite bleak, but > that's entirely unrelated to the issues discussed in this thread, and > its reasons IMO have nothing to do with either ELisp speed or > flexibility of Emacs in general. It has a lot to do. Analyzing source code is cpu-intensive, because it is algorithmically complex and lots of data needs to be processed. The ill-fated Semantic package, despite all the effort invested on implementing speed-ups, suffered badly from this and AFAIK it was one of the main causes of its failure. Even if you defer the actual analysis to an external tool (which is the sane thing to do, BTW) the amount of data to be processed on the Emacs end can be quite large, more than enough to introduce perceptible delays that spoil the experience.