From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: Re: Troubles with Objcode and Storing JIT Pointers Date: Mon, 21 Jun 2010 18:23:00 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1277158995 29875 80.91.229.12 (21 Jun 2010 22:23:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2010 22:23:15 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 22 00:23:13 2010 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 1OQpOa-0006an-Gy for guile-devel@m.gmane.org; Tue, 22 Jun 2010 00:23:12 +0200 Original-Received: from localhost ([127.0.0.1]:33408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQpOZ-0006zm-N1 for guile-devel@m.gmane.org; Mon, 21 Jun 2010 18:23:11 -0400 Original-Received: from [140.186.70.92] (port=58730 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQpOQ-0006yl-M1 for guile-devel@gnu.org; Mon, 21 Jun 2010 18:23:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQpOP-0007kX-Hm for guile-devel@gnu.org; Mon, 21 Jun 2010 18:23:02 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:64773) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQpOP-0007kR-Em for guile-devel@gnu.org; Mon, 21 Jun 2010 18:23:01 -0400 Original-Received: by iwn39 with SMTP id 39so2397464iwn.0 for ; Mon, 21 Jun 2010 15:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=d9hbcWyDwuHzRntu+TfDPBq9oiPdKRulNlKiX6Io+R8=; b=ofJrvsY4GtV9c3NQ4YxXEpK2cN9p/SzsNsZlXgfd+yq1Na3o06ST4hHYzpaakRlSl6 wL7TS5RPa7Sg2o23h37k25/UxxXsiw5UxfpMmn2GFgkheKWL3O32Lhr1CqQPVecNDor4 ydz/aakBQFWclVfyx4nWpijIKqRYB0pJQtxLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=n2LDYyI1JPgYvCH94ZyZy8XYLmACl2uRVAElp5RHTfHgnGKSPDpk/tUDbqtlHKqm0U IpgU05bxFnKR360X0sao6uc2PbpDlcUQo/wqApqxp3gLo95aRxnL7Aox6HoJ9P3dWOdo cscW3sX1icFak/9tkAHFTaggZQRCIZX4PQ3Kk= Original-Received: by 10.231.194.194 with SMTP id dz2mr5902209ibb.74.1277158980307; Mon, 21 Jun 2010 15:23:00 -0700 (PDT) Original-Received: by 10.231.12.67 with HTTP; Mon, 21 Jun 2010 15:23:00 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 3avbJ4CsX_FEroxZJW8VoB-Vdmw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:10539 Archived-At: Hi Andy, That sounds excellent. If I may ask, do you already have patches or a git branch that adds this slot? If so, what are you doing about the embedded objcode issue? (Changing the bytecode to leave room for it, or hiding the slot in the C code?) If not, why don't I just write that up first and submit it as a separate patch for Guile, and then try to add JIT stuff on top of it? Noah On Mon, Jun 21, 2010 at 4:19 PM, Andy Wingo wrote: > Hi Noah, > > On Mon 21 Jun 2010 20:19, Noah Lavine writes: > >> I don't know where to store the JITed code. > > The 2.2 branch probably will add a slot to objcode objects for native > code. If you want to do this, that's fine. Otherwise if you want 2.0 > compat, use an object property, or equivalently, a weak-key hash table. > > Andy > -- > http://wingolog.org/ >