From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: Experimental JIT for Guile (???!) Date: Wed, 28 Sep 2016 12:11:15 +0800 Organization: HFG Message-ID: <1475035875.18187.50.camel@gmail.com> References: <87bmz91c9t.fsf@dustycloud.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1475035904 17321 195.159.176.226 (28 Sep 2016 04:11:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2016 04:11:44 +0000 (UTC) Cc: Atsuro Hoshino To: Christopher Allan Webber , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Sep 28 06:11:39 2016 Return-path: Envelope-to: guile-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 1bp6DW-00038G-CB for guile-devel@m.gmane.org; Wed, 28 Sep 2016 06:11:34 +0200 Original-Received: from localhost ([::1]:55881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp6DU-0004Du-Ql for guile-devel@m.gmane.org; Wed, 28 Sep 2016 00:11:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp6DP-0004C0-6A for guile-devel@gnu.org; Wed, 28 Sep 2016 00:11:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bp6DJ-00033W-Id for guile-devel@gnu.org; Wed, 28 Sep 2016 00:11:26 -0400 Original-Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:32809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp6DJ-00033F-CE for guile-devel@gnu.org; Wed, 28 Sep 2016 00:11:21 -0400 Original-Received: by mail-pa0-x22b.google.com with SMTP id cd13so8992047pac.0 for ; Tue, 27 Sep 2016 21:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=QpKWtqh+cZOxIwxENeBsX73q7q3+KMiZT8cB3gJNa9A=; b=U5l3b3lOgyYhpDEaBAIymBhMRgwM0zVttUMUBkj5kqt4jSbIZwwSQg0/hdW2AejqwX BjJUUScxQaNjgiXydhiPbEe1OC9B3Tzqb76WBIEjAY9nJM0dRVXP6K0O/quGPvAYh1J8 SzJ8BnNRYWucGLWedSOdBhXZQBnmxPu3Bjs+P3ZMppNOX5MH+/R3ghy7NfZAZoX1Qz1J JHBZd62LLa5Ncws7LtDQNRN+FYvLlNbGoVhgdzRCdj7InrVVtE7HFE3FSOP+MnLNoSWA 5kyIORXT2bdAv6CGL5+cj6jtHpF1AtPT7PKIYPHWEUg6y8XnMiv83wg6X/ORI5yWY8AS dveg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=QpKWtqh+cZOxIwxENeBsX73q7q3+KMiZT8cB3gJNa9A=; b=Il3+em4N+MdlWFRQUQuRQPdrI6Z4sVHTbBtXVTYdgzJSEWkilFCe2lGnrqdbHB0/9U sjiRb94X3ztnzxJgIHc6s47Drk9iwE7FvIzQ0D6D9D22lNgN1eRdGxoIsPhGTys5qwlV NiTQH1iVmndghSd8hfljNpfm9rGk9METSJJAuQGz494/6TAtUcUub9puRRkvdTBvfPzt qPmLeHjj4jMzJtv7OXP8c6xsA4euLzRREF3TVzie2cqrsyfRvq03qv6ut3UKbDM88QvQ aB3hngOxy5OWJWPb731VZbc1kj0LTsbsuddiFnunxVxIw3YFcS6Nw87CFRuaUMoACmcu Oj+Q== X-Gm-Message-State: AE9vXwPeRq3OGYoL+3zAzTAYoZJtDulyc8WT3Bw8KuEhq9rpR3/K8e2CqEf2Y15YUj/rtg== X-Received: by 10.66.16.38 with SMTP id c6mr53553337pad.64.1475035880512; Tue, 27 Sep 2016 21:11:20 -0700 (PDT) Original-Received: from localhost ([108.61.217.77]) by smtp.gmail.com with ESMTPSA id n19sm8148178pfi.50.2016.09.27.21.11.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Sep 2016 21:11:19 -0700 (PDT) In-Reply-To: <87bmz91c9t.fsf@dustycloud.org> X-Mailer: Evolution 3.20.5-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22b X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18688 Archived-At: Well, there's interesting story behind it. Few days ago this new JIT backend named Nash was introduced in ICFP2016 (scheme workshop), I and Ludo are lecturers too. When I first saw the topic, I looked back to Ludo and thought "oh you guys are making a new weapon secretly huh?" I thought this work must be encouraged and helped by Ludo or Wingo or Mark, but finally I realized that I was wrong, the author Atsuro Hoshino was hacking JIT backend for Guile all by himself. Ludo got surprised too. I have to say, lone hero pattern is not recommended for a community project, but anyway he did it bravely and the result seems good according to the paper. After the meeting, I and Ludo tried to convince him to get involved into our community to get more help and feedback.  I CC him here, and it depends on him whether/when to introduce more. I think this project is just amazing, really! Thank you Hoshino! ;-) Best regards. On Tue, 2016-09-27 at 12:30 -0500, Christopher Allan Webber wrote: > Earlier today, David Thompson pointed to this paper in #guix on > freenode: > >   https://github.com/8c6794b6/guile-tjit-documentation/raw/master/nash.pdf > > And here seems to be the source: > >   https://github.com/8c6794b6/guile-tjit > > I'm not informed enough to judge this myself, but this seems like a > reasonable start-of-implementation of the ideas expressed here: > >   http://wingolog.org/archives/2015/11/03/two-paths-one-peak-a-view-from-below > -on-high-performance-language-implementations > > It mentions hot loops and compiling to native code... that's about as > much as I can tell myself about it being on track.  But it seems pretty > cool, especially for something shooting onto the radar seemingly out of > nowhere! > > Anyone more informed have thoughts? :) >  - Chris >