From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: An idea, now that we have dynamic loading Date: Mon, 21 May 2018 15:13:42 -0600 Message-ID: <87603g3e61.fsf@tromey.com> References: <87k1sb1ujp.fsf@tromey.com> <87o9hhhpzk.fsf@tromey.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1526937123 19780 195.159.176.226 (21 May 2018 21:12:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 May 2018 21:12:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 23:11:59 2018 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 1fKs61-0004zp-Ra for ged-emacs-devel@m.gmane.org; Mon, 21 May 2018 23:11:58 +0200 Original-Received: from localhost ([::1]:52459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKs88-0004rl-Iv for ged-emacs-devel@m.gmane.org; Mon, 21 May 2018 17:14:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKs81-0004rW-CT for emacs-devel@gnu.org; Mon, 21 May 2018 17:14:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKs7y-0008Qy-7p for emacs-devel@gnu.org; Mon, 21 May 2018 17:14:01 -0400 Original-Received: from gateway33.websitewelcome.com ([192.185.146.195]:31935) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fKs7x-0008P2-UJ for emacs-devel@gnu.org; Mon, 21 May 2018 17:13:58 -0400 Original-Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 33B914E3E89 for ; Mon, 21 May 2018 16:13:43 -0500 (CDT) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id Ks7jfZyFQA3CSKs7jfb3AX; Mon, 21 May 2018 16:13:43 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e2I3AHsARodH/IuOTiJGsVA63fNc99XXEyie/0OD9Qk=; b=hVZbr8uXnYe6kEvp/tdFhJFvcP pfftt1qZJn9I6bvIqa8ROMx9CY7bxgUbkEFPwLVqvu0RlGogR8NqnUbEJOhvVAsJX7i9uKOAgAZaF iwdgMkT6ZZEAZy3BE/SIgFr3o; Original-Received: from 174-29-44-154.hlrn.qwest.net ([174.29.44.154]:53676 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fKs7j-002Rtg-4f; Mon, 21 May 2018 16:13:43 -0500 X-Attribution: Tom In-Reply-To: (John Wiegley's message of "Mon, 14 May 2018 16:36:58 -0700") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.29.44.154 X-Source-L: No X-Exim-ID: 1fKs7j-002Rtg-4f X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-29-44-154.hlrn.qwest.net (bapiya) [174.29.44.154]:53676 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.146.195 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:225528 Archived-At: >>>>> "John" == John Wiegley writes: >>>>> "TT" == Tom Tromey writes: TT> Anyway, the backend has some bugs, and it generates "Emacs C core"-style C TT> code, not "Emacs dynamic module"-style C code. John> Could some of our internal C sources be replaced by Emacs Lisp, which the John> Makefile would compile into C as part of the regular build process? Yes, you can see a random selection of functions converted this way here: https://github.com/tromey/emacs/commits/compiler-rewrites-2 The changes include the generated C code, which as you'd expect is quite ugly. Tom