From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Templeton Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 3 and wip-elisp/Emacs Date: Wed, 20 Oct 2021 07:59:17 -0400 Message-ID: <87a6j3nbze.fsf@terpri.org> References: <45-613b7600-3-2694eb00@100567081> <87zgskrybd.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25630"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) To: guile-devel@gnu.org Cancel-Lock: sha1:SHCOhco363Hh3BVIlV/j5NHdyow= Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Oct 20 14:01:04 2021 Return-path: Envelope-to: guile-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 1mdAHH-0006Tg-4j for guile-devel@m.gmane-mx.org; Wed, 20 Oct 2021 14:01:03 +0200 Original-Received: from localhost ([::1]:39838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdAHF-000505-Qw for guile-devel@m.gmane-mx.org; Wed, 20 Oct 2021 08:01:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdAFl-0004Iu-Mr for guile-devel@gnu.org; Wed, 20 Oct 2021 07:59:29 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:36942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdAFk-0006V4-2G for guile-devel@gnu.org; Wed, 20 Oct 2021 07:59:29 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mdAFh-0004JL-Fn for guile-devel@gnu.org; Wed, 20 Oct 2021 13:59:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=guile-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20924 Archived-At: "Dr. Arne Babenhauserheide" writes: > The workload to finish this is considerable, though: IIRC You’ll need to > solve some deeper problems that prevent Guile Emacs from using > byte-compiled files (that’s why it currently has a very high startup > time). To clarify, Guile-Emacs intentionally ditches the existing Emacs bytecode compiler entirely (though it'd probably be possible to emulate the bytecode interpreter to allow loading old '.elc' files). I haven't followed Guile development closely enough to know whether these are practical solutions, but my main ideas for improving startup speed were to either add some form of AOT compilation to Guile, or to rely on cached JIT-compiled code. IIRC Emacs now uses a portable dumper (rather than the old system which dumped a running Emacs instance to an executable), which seems analogous to the latter approach. > That said, there is a guile-emacs package in guix, and Guile 3.0.7 is > much faster than Guile 2. > > (please someone correct me if I’m wrong!) > > Best wishes, > Arne Regards, Robin -- But speaking of programming, I was dreaming that I had some coding problem and suddenly robin walked by, so I asked what the common lisp way of solving it would be.