From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew Mundell Newsgroups: gmane.emacs.devel Subject: Re: Compilation to native Date: 22 Mar 2004 23:44:07 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <871xnkcurc.fsf@sno.mundell.ukfsn.org> References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079999322 22635 80.91.224.253 (22 Mar 2004 23:48:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 23:48:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 23 00:48:37 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 1B5Z9p-0006Fh-00 for ; Tue, 23 Mar 2004 00:48:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5Z9p-0004sr-00 for ; Tue, 23 Mar 2004 00:48:37 +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 1B5Z89-0003M9-Hw for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 18:46:53 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5Z5v-0002P7-T7 for emacs-devel@gnu.org; Mon, 22 Mar 2004 18:44:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5Z5b-0002BH-0Y for emacs-devel@gnu.org; Mon, 22 Mar 2004 18:44:33 -0500 Original-Received: from [217.158.120.143] (helo=mail.ukfsn.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5Z5a-0002B1-Jp for emacs-devel@gnu.org; Mon, 22 Mar 2004 18:44:14 -0500 Original-Received: from localhost (lucy.ukfsn.org [127.0.0.1]) by mail.ukfsn.org (Postfix) with ESMTP id 5C5D9E6D4D; Mon, 22 Mar 2004 23:43:47 +0000 (GMT) Original-Received: from mail.ukfsn.org ([127.0.0.1]) by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32071-19; Mon, 22 Mar 2004 23:43:47 +0000 (GMT) Original-Received: from sno.mundell.ukfsn.org (dsl213-218-238-16.as15444.net [213.218.238.16]) by mail.ukfsn.org (Postfix) with ESMTP id 27388E6A9A; Mon, 22 Mar 2004 23:43:47 +0000 (GMT) Original-Received: from sno.mundell.ukfsn.org ([10.0.0.3]) by sno.mundell.ukfsn.org with esmtp (Exim 3.36 #1 (Debian)) id 1B5Z5T-00024U-00; Mon, 22 Mar 2004 23:44:07 +0000 Original-To: Juri Linkov Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:20753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20753 Juri Linkov writes: > 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. I expected less, given that the generated code does mostly what the compiled byte interpreter does, saving only on the time taken to loop through the byte 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 only wondered why the TODO entry favoured CCL, as it was simpler to try the byte code first. The changes to function calling required for the compiled byte code would count towards a similar effort for CCL.