From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Troubles with Objcode and Storing JIT Pointers Date: Tue, 22 Jun 2010 21:03:15 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277234366 26042 80.91.229.12 (22 Jun 2010 19:19:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Jun 2010 19:19:26 +0000 (UTC) Cc: guile-devel@gnu.org To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 22 21:19:24 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 1OR90F-0002Iy-EC for guile-devel@m.gmane.org; Tue, 22 Jun 2010 21:19:23 +0200 Original-Received: from localhost ([127.0.0.1]:59832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OR8qa-0003u0-N2 for guile-devel@m.gmane.org; Tue, 22 Jun 2010 15:09:24 -0400 Original-Received: from [140.186.70.92] (port=51501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OR8qT-0003sN-Rv for guile-devel@gnu.org; Tue, 22 Jun 2010 15:09:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OR8qR-0006ez-4v for guile-devel@gnu.org; Tue, 22 Jun 2010 15:09:17 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:42671 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OR8qR-0006eu-1z for guile-devel@gnu.org; Tue, 22 Jun 2010 15:09:15 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A158FBE424; Tue, 22 Jun 2010 15:09:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=XuaLCtE2F+iXiKvb6IqgD4bBSJE=; b=fEHuGa nlB80aRA+vsae02M2BNf3uxwfJS9EorwfujsqZZ4ictIRHpgMR4+ZweTiSe9ryuF BSV7ny4yShysnWRq5JPbrK8W4T4W2JGtnxTRUWaRPc4D4yGxnzmjpUND5V750eEK C1j9zUQJxf217aQTKym7Dk625n6rkt+jldiRU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=HVdHeCVi4mZBrJnf/8lf+muPFS+hyvUC jeC+VCGt83EDobyommSZ9wfZRQoqcEQXgg4EMQKJIrgcTkvk3xI4C8ipGS4lOVhg HPC4FFHn7d/CDgK+UDTB6SGhoWv/Tuj0uFKwzWLHIUwXCyW5ElRMe3hGyXlspXwB 79jIc5/YZ8c= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 8D31FBE421; Tue, 22 Jun 2010 15:09:13 -0400 (EDT) Original-Received: from unquote (unknown [83.32.68.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id AE34DBE420; Tue, 22 Jun 2010 15:09:11 -0400 (EDT) In-Reply-To: (Noah Lavine's message of "Mon, 21 Jun 2010 18:23:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: A5422436-7E31-11DF-A84B-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:10545 Archived-At: On Tue 22 Jun 2010 00:23, Noah Lavine writes: > If I may ask, do you already have patches or a git branch that adds [a > native code slot to objcode]? 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?) I do not have a patch, no. Feel free to implement :) Having not implemented it, I do not know exactly what's needed, but I would not put it in what is the struct scm_objcode, rather in the SCM value that includes the objcode. I don't know if we can somehow fit this in a "double cell" or if we need to have a five-word object (see scm_words ()). Andy -- http://wingolog.org/