From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.devel Subject: Re: Emacs rewrite in a maintainable language Date: Sun, 18 Oct 2015 10:40:58 -0700 Organization: New Artisans LLC Message-ID: References: <561A19AB.5060001@cumego.com> <87io6dl0h0.fsf@wanadoo.es> <87lhb82qxc.fsf@gmail.com> <87oag4jk74.fsf@wanadoo.es> <87k2qrki45.fsf@wanadoo.es> <87k2qknmel.fsf@tromey.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445191939 6905 80.91.229.3 (18 Oct 2015 18:12:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2015 18:12:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 18 20:12:14 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnsRK-0002sR-GO for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 20:12:14 +0200 Original-Received: from localhost ([::1]:34992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zns6u-0002O8-S3 for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 13:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zns4f-00020w-Ha for emacs-devel@gnu.org; Sun, 18 Oct 2015 13:48:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zns4b-0004by-Bs for emacs-devel@gnu.org; Sun, 18 Oct 2015 13:48:49 -0400 Original-Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:34765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zns4b-0004bt-5r for emacs-devel@gnu.org; Sun, 18 Oct 2015 13:48:45 -0400 Original-Received: by padhk11 with SMTP id hk11so5827935pad.1 for ; Sun, 18 Oct 2015 10:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:in-reply-to:date:organization:message-id :references:user-agent:mail-followup-to:mime-version:content-type; bh=K3GbtK1VF9GcRe6sE8To5MZKQ3IhoVBOSYdANOJ9hgs=; b=siw5aePATp6gNjHSy8G4OC9L6GzU5/W90PU7/bgG3iRT8XefhW5FxdCgpi1WnHz1Ls 1xrzocVJ9rRgDVXInIO2Ts0BGMQQwgODZ1BxTXxXM3Ki3L8x/VWWyLXhvbT3v0IschOD PfEMr1/ICAEs+Fnuy+fhJnq2iWJpMn1foYrL3QTkV1lyghr6Qn283pVJMXGkfEp+0qbV Cw5OiMz/NWU8gn+ACS/6RLjvnvd/69EJE+eaIGhKElWYG/voxRc/J/x3HWxew+gnQ2FB VjCYbCy4W8Pz6H44RL6Upb1AU8SkeieHTETUFR9yTvbZqFxOU+XPdQ3GkqcRjXhR6FIX C+aQ== X-Received: by 10.68.181.130 with SMTP id dw2mr29767844pbc.70.1445190524712; Sun, 18 Oct 2015 10:48:44 -0700 (PDT) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id r2sm32252230pap.23.2015.10.18.10.48.43 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 18 Oct 2015 10:48:44 -0700 (PDT) Original-Received: by Vulcan.local (Postfix, from userid 501) id B7D33F45D04C; Sun, 18 Oct 2015 10:48:42 -0700 (PDT) In-Reply-To: <87k2qknmel.fsf@tromey.com> (Tom Tromey's message of "Sun, 18 Oct 2015 10:58:58 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191990 Archived-At: >>>>> Tom Tromey writes: > You don't really need to do any subsetting. With a decent compiler you can > just write elisp. > > This is pretty much what I am trying to do here: > > https://github.com/tromey/el-compilador Ok, you've got the PL side of me rather excited now. :) Are you planning optimization passes during the transform from elisp to C? I noticed your files lack a copyright or license. Is this something you would be willing to assign to the FSF once the bugs are worked out? Even if we don't use it to rewrite our current C files, it would be an interesting addition to the build process, if we do decide to cross-compile some Emacs Lisp code over to C. For it to be worth the complexity, however, I'd like to see some performance numbers, or examples of features it gains us that we can't have easily otherwise (like transparent FFI). If the difference between compiled-to-C and our current byte-compiler is only 10%, that would be good to know. If the win is huge, I wonder how long until I can have a compiled Gnus. :) Other than that, I like it! John