From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] feature/byte-switch 086c4ea: * src/bytecode.c: (exec_byte_code) Use hash_lookup for Bswitch Date: Fri, 20 Jan 2017 09:53:04 -0500 Message-ID: References: <20170118171311.10996.72260@vcs.savannah.gnu.org> <20170118171311.A84EA220125@vcs.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484924036 26258 195.159.176.226 (20 Jan 2017 14:53:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2017 14:53:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Vibhav Pant , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 15:53:52 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUaZA-0004LY-5w for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2017 15:53:24 +0100 Original-Received: from localhost ([::1]:55425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUaZF-0002lp-5t for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2017 09:53:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUaYx-0002eF-G8 for emacs-devel@gnu.org; Fri, 20 Jan 2017 09:53:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUaYs-0000DL-MH for emacs-devel@gnu.org; Fri, 20 Jan 2017 09:53:11 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59891) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUaYs-0000Cg-F7 for emacs-devel@gnu.org; Fri, 20 Jan 2017 09:53:06 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DFBQAu3EVY/4WWWxddGwEBAQMBAQEJAQEBgzgBAQEBAR+EW6FWJgGWXoYcBAICghFEEAECAQEBAQEBAWIohGkBBAFWIwULCw4mBwsUGA0kiHoIrRSLRAEBAQEGAgEkixmKKQWPfIpqknOIJ4Y6SZFGNiB4Ew6DXBwYgWMgiS0BAQE X-IPAS-Result: A0DFBQAu3EVY/4WWWxddGwEBAQMBAQEJAQEBgzgBAQEBAR+EW6FWJgGWXoYcBAICghFEEAECAQEBAQEBAWIohGkBBAFWIwULCw4mBwsUGA0kiHoIrRSLRAEBAQEGAgEkixmKKQWPfIpqknOIJ4Y6SZFGNiB4Ew6DXBwYgWMgiS0BAQE X-IronPort-AV: E=Sophos;i="5.33,749,1477972800"; d="scan'208";a="287020315" Original-Received: from 23-91-150-133.cpe.pppoe.ca (HELO pastel.home) ([23.91.150.133]) by smtp.teksavvy.com with ESMTP; 20 Jan 2017 09:53:04 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A8EC2655D1; Fri, 20 Jan 2017 09:53:04 -0500 (EST) In-Reply-To: (Daniel Colascione's message of "Fri, 20 Jan 2017 01:10:02 -0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:211427 Archived-At: > Why? If anything, the opposite direction is the right one. elc files > should be tightly coupled to the Emacs that built them so that they can > be specialized for specific machines. You could imagine them > containing, say, saved JIT traces. But that basically means auto-generating and managing the compiled files, so it's very different from what happens with our .elc files. I would also like to move in the direction you suggest, tho (and get rid of the Elisp interpreter altogether, while we're at it), and we'd then indeed be more free to change the format of byte-code. Stefan