From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: summer of code ideas Date: Mon, 07 Mar 2011 23:27:04 +0100 Message-ID: <87d3m2va6f.fsf@gnu.org> References: <87pqq2vcnb.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299536934 2356 80.91.229.12 (7 Mar 2011 22:28:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 22:28:54 +0000 (UTC) Cc: guile-devel@gnu.org To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 07 23:28:50 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwiv4-0003nZ-GI for guile-devel@m.gmane.org; Mon, 07 Mar 2011 23:28:50 +0100 Original-Received: from localhost ([127.0.0.1]:47743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwiv4-000522-0C for guile-devel@m.gmane.org; Mon, 07 Mar 2011 17:28:50 -0500 Original-Received: from [140.186.70.92] (port=41939 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwita-00048h-Br for guile-devel@gnu.org; Mon, 07 Mar 2011 17:27:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwitY-0002dE-PH for guile-devel@gnu.org; Mon, 07 Mar 2011 17:27:18 -0500 Original-Received: from solo.fdn.fr ([80.67.169.19]:60900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwitY-0002ck-Kl for guile-devel@gnu.org; Mon, 07 Mar 2011 17:27:16 -0500 Original-Received: from nixey (reverse-83.fdn.fr [80.67.176.83]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id BA6AC45438; Mon, 7 Mar 2011 23:27:07 +0100 (CET) In-Reply-To: (Noah Lavine's message of "Mon, 7 Mar 2011 17:11:14 -0500") User-Agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?iso-8859-1?Q?Vent=F4se?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11823 Archived-At: Hi! Noah Lavine writes: > Yes, it's been a while since we talked about that :-). I still want to > do it, though. The current status as I see it is that I have a > prototype JIT that works, and a plausible way to integrate it into > Guile's VM. What needs to happen now is to write all of the opcodes as > JIT functions (the prototype had five or so opcodes). Since writing > them by hand would cause an absurd amount of code duplication, I > wanted to do it automatically. Yes. > We talked about having a Scheme-based language that could compile to > both plain C and JIT, but decided that would make the VM too > complicated, Maybe I forgot to feed that thread, but I think it might be easier to have a high-level representation the VM opcodes as sexps (possibly a subset of Scheme), and then write the C files from that. Though the main difficulty is to find a sufficiently expressive way to write opcodes in. > I notice that GCC now has the ability to use plugins, The plug-in API doesn=E2=80=99t allow plug-ins to add new front-ends (info "(gccint) Plugins"). Thanks, Ludo=E2=80=99.