From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?7KGw7ISx67mI?= Newsgroups: gmane.emacs.help Subject: Re: Why is Elisp slow? Date: Tue, 7 May 2019 05:41:24 +0900 Message-ID: <5CEC24C2-05A2-42F3-81B4-F6D53358FAB0@icloud.com> References: <83tvebn1we.fsf@gnu.org> <20190503125832.44ovncaxp3vyjsla@Ergus> <20190504133218.g3ysx3ksuyvlthg3@Ergus> <831BD780-F954-4E23-BF31-ED4E135C919B@icloud.com> <20190506125848.okei2qrib7m5p3vx@Ergus> <20190506161757.wg4wy3vr7emxnciv@Ergus> <443E6AB4-2478-4677-8A23-A0B04559E949@icloud.com> <84F2860D-523D-4F30-BD52-D6A915416167@icloud.com> <35D6F501-C2C8-4134-8E0F-6B54D4BB9E3F@aol.com> Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="13634"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org, Stefan Monnier To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 06 22:41:45 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 1hNkQi-0003S1-N1 for geh-help-gnu-emacs@m.gmane.org; Mon, 06 May 2019 22:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:33773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNkQh-0007hV-O7 for geh-help-gnu-emacs@m.gmane.org; Mon, 06 May 2019 16:41:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNkQW-0007hQ-KD for help-gnu-emacs@gnu.org; Mon, 06 May 2019 16:41:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNkQV-0007jP-6a for help-gnu-emacs@gnu.org; Mon, 06 May 2019 16:41:32 -0400 Original-Received: from pv50p00im-zteg10011401.me.com ([17.58.6.41]:38879) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hNkQU-0007iQ-Tp for help-gnu-emacs@gnu.org; Mon, 06 May 2019 16:41:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=04042017; t=1557175287; bh=9jEmp6ldlgcENY+1/T8b5tEE+SLS5+GS7i4TuhZVdyQ=; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:To; b=Dz8smA3tLYCGmU2EZhmZLQ51LV0ZPMWReV0CM+6ePh+gT4/kZs7MGA96XEdBk9/nE /H0HkediMzHaGAP9RU6m3H678Vx50B/cYwX2qThL/hrHQd528MilWHfOM/h3/Lj8kf Ga+Xmb+VTrbAvaB+hs+Pzcj+/tVP0PAtV6C3NyBaTGdJEVf0qR3MSKJn1+ywHFRha3 haa6EUS+0MuUwy4KUwej9n+Ldq1B0qIg6RkMD7l/hJPRE3X6/nn/tCLmkLzX0V8Ehm B7DSzWa3EB2xn1YbF2vGsDmbSqu/5UijXKzTEt+nX+iJDfI9CzMQhFzEwpBbV4Jwy1 PZ2VKcBu3wIZA== Original-Received: from [192.168.0.11] (unknown [1.230.108.64]) by pv50p00im-zteg10011401.me.com (Postfix) with ESMTPSA id D1A32900886; Mon, 6 May 2019 20:41:26 +0000 (UTC) In-Reply-To: <35D6F501-C2C8-4134-8E0F-6B54D4BB9E3F@aol.com> X-Mailer: Apple Mail (2.3445.9.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_11:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1905060164 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 17.58.6.41 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:120238 Archived-At: > 2019. 5. 7. =EC=98=A4=EC=A0=84 5:23, Ergus =EC=9E=91=EC= =84=B1: >=20 >=20 >=20 > On May 6, 2019 8:47:12 PM GMT+02:00, Stefan Monnier = wrote: >>>> [ IIUC of the 4 cases above, at most 2 run the same version, so = we'd >>>> need to make sure the same Emacs version can be compiled against >> all >>>> of those versions. No idea if it would impose a significant extra >>>> burden or not, but it's something to be considered. Also the fact >>>> that the latest release doesn't work on all those platforms is >> rather >>>> worrying. ] >>>=20 >>> Hmm=E2=80=A6? I can=E2=80=99t understand :-( >>> Why can=E2=80=99t Emacs can include a specific version of SBCL=E2=80=99= s source (e.g. >> as >>> a git module) and compile them all together?=CC=8A=CC=88 >>=20 >> Exactly because the version that can run on ARM is not the same as = the >> one that can run under Windows, which is not the same as the one that >> runs under AMD64. >>=20 >> Of course, maybe I'm confused by the table of available binaries (at >> http://sbcl.org/platform-table.html), and in reality the latest = version >> works fine on all supported platforms. >>=20 >>=20 >> Stefan >=20 > What about just ask to sbcl maintainers about portability? On the = other hand, if Emacs doesn't use extremely fancy stuff in the language = we could just rely on the system's sbcl version (available in the = distro), for gnu/linux systems that will be pretty fine and of course = that's something that needs specific tests. But nothing compared to = maintain a compiler.=20 >=20 > Stefan if you need to test sbcl in some specific (weird) architecture = just send/tell me the tests and the architectured you need to test. = (Except windows) and I can do that. >=20 > Btw. Should we move this thread to the developers list? (and start the = usual war) >=20 > Please don't go for JS stuff... Please... performance is terrible even = with jit. >=20 Um=E2=80=A6 JS=E2=80=99s performance is pretty good, almost comparable = with static languages like Java and C. I remember a better benchmark, but I couldn=E2=80=99t find that, but = look at this: https://attractivechaos.github.io/plb/ = Javascript V8 engine is almost always in about x2 ~ x3 of C. Compare that to Elisp=E2=80=A6.uh=E2=80=A6which is about comparable with = python maybe?