From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Compilation to native Date: Mon, 22 Mar 2004 18:54:48 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <8765cwkejr.fsf@mail.jurta.org> References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079974910 25913 80.91.224.253 (22 Mar 2004 17:01:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 17:01:50 +0000 (UTC) Cc: Matthew Mundell Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 22 18:01:40 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5Snz-00008U-00 for ; Mon, 22 Mar 2004 18:01:39 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5Snz-0008Ic-00 for ; Mon, 22 Mar 2004 18:01:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5Slz-0000fe-NY for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 11:59:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5SlD-0000Ti-3J for emacs-devel@gnu.org; Mon, 22 Mar 2004 11:58:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5Skc-0000D0-RQ for emacs-devel@gnu.org; Mon, 22 Mar 2004 11:58:42 -0500 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5Skb-0000BW-Si for emacs-devel@gnu.org; Mon, 22 Mar 2004 11:58:10 -0500 Original-Received: from mail.jurta.org (80-235-32-135-dsl.mus.estpak.ee [80.235.32.135]) by spork.dreamhost.com (Postfix) with ESMTP id 0408511DC7A; Mon, 22 Mar 2004 08:57:57 -0800 (PST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20735 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20735 Richard Stallman writes: > I don't think that a speedup of less than a factor of 2 would be worth > installing something that might take substantial maintenance effort. Hmm, I expected more speedup given that it compiles to machine code. Anyhow, while jit compilation of Emacs bytecode to native code would be a far-reaching goal, the most urgent issue is with CCL programs. Currently, CCL programs are unbearable slow. For example, opening a 10MB UTF-8 file on a fast machine takes 5 min, while opening it without conversion is performed instantly. I thought about a different approach: predefined CCL programs could be statically converted into C code and compiled by a C compiler into Emacs core. -- Juri Linkov http://www.jurta.org/emacs/