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.devel Subject: Re: On elisp running native Date: Thu, 02 Jan 2020 15:47:32 +0200 Message-ID: <83a776j7gr.fsf@gnu.org> References: <83tv5mp48l.fsf@gnu.org> <83sgl0lchm.fsf@gnu.org> <83imlwl9vm.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="107163"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 02 14:48:05 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1in0pZ-000RkM-88 for ged-emacs-devel@m.gmane.org; Thu, 02 Jan 2020 14:48:05 +0100 Original-Received: from localhost ([::1]:41248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in0pX-0007Xt-OF for ged-emacs-devel@m.gmane.org; Thu, 02 Jan 2020 08:48:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59211) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in0on-00076h-JW for emacs-devel@gnu.org; Thu, 02 Jan 2020 08:47:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1in0on-0007Qo-4S; Thu, 02 Jan 2020 08:47:17 -0500 Original-Received: from [176.228.60.248] (port=2982 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1in0om-0006qW-IT; Thu, 02 Jan 2020 08:47:16 -0500 In-reply-to: (message from Andrea Corallo on Wed, 01 Jan 2020 18:42:02 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243863 Archived-At: > From: Andrea Corallo > Date: Wed, 01 Jan 2020 18:42:02 +0000 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Stefan Monnier writes: > > > I think the focus should be on: > > - making it work everywhere > > - making it easy/convenient to use (e.g. even if you share your $HOME between > > different architectures or even different OSes as well as different > > versions of Emacs) > > I think the natural action would be to move the eln in the build > directory (as these are in fact compiled). Unfortunately this would not > work with the elpa packages... The other option would be to add a > suffix to the the eln file but is not nice at all. Any idea? It might help to look at what Guile does when installing the *.go files, and also how it handles the JIT compilation of the *.scm files. AFAIU, the *.go files are also architecture-specific. Note that Guile also has cache directories, both system-wide and per-user, to support JIT compilation. This could give some ideas.