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: Immediate pointers Date: Wed, 30 Mar 2011 16:07:24 +0200 Message-ID: References: <87ipx6vwly.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 1301494049 14476 80.91.229.12 (30 Mar 2011 14:07:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 14:07:29 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 30 16:07:24 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 1Q4w3O-000808-Pq for guile-devel@m.gmane.org; Wed, 30 Mar 2011 16:07:22 +0200 Original-Received: from localhost ([127.0.0.1]:59408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4w3O-0002v9-5y for guile-devel@m.gmane.org; Wed, 30 Mar 2011 10:07:22 -0400 Original-Received: from [140.186.70.92] (port=54509 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4w3H-0002tY-9r for guile-devel@gnu.org; Wed, 30 Mar 2011 10:07:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4w3A-0008J2-UH for guile-devel@gnu.org; Wed, 30 Mar 2011 10:07:15 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:64438 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4w3A-0008In-Rt; Wed, 30 Mar 2011 10:07:08 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 34D2F39D1; Wed, 30 Mar 2011 10:08:56 -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:content-transfer-encoding; s=sasl; bh=ODNOPEOJMd6J rg2JQw7Gp6/DnAg=; b=TbKmFH2su5sk5CNG07/2Cdahz5jebAnB7bqTkzFgIkim I+ZJKBJw8r2MeYOuJSIrrWGVfE8xwJGnw2hPAk27zZcKIJA1Me49bPqMKOxUSgxk 4BjuM6ThL6QyZHKCkHMLnn5vHel90loSRhrayXlKzf2QWwBusxkTD0H/j5wPmtQ= 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:content-transfer-encoding; q=dns; s=sasl; b=YQJ2Wo 81koiTC7pHXuEVwg6D53F4BDYVT6i2aUFIiTdsKcdliWOi8r6N24OIwd9uOLsXi8 i1WbOB4ghKnHsK2vMG9TKHqO850TfXJSSDFWweUYb0doEqOVZqInkrvz7aJwR3aP K0/st2I4I0bLwcnuCjUxwFd1Juc4A/D00JMK8= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 214EA39D0; Wed, 30 Mar 2011 10:08:54 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 854AD39CF; Wed, 30 Mar 2011 10:08:52 -0400 (EDT) In-Reply-To: <87ipx6vwly.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 30 Jan 2011 23:46:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 3EE17862-5AD7-11E0-BE25-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:12086 Archived-At: On Sun 30 Jan 2011 23:46, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > The problem is that each =E2=80=98make-pointer=E2=80=99 call (and =E2=80= =98dereference-pointer=E2=80=99, > etc.) conses. This can make conversion to/from C quite inefficient. We could simply allow Scheme integers to work as pointers. It's not very nice though. Also, arguably, floating-point numbers are a bigger deal to get as immediate objects... Andy --=20 http://wingolog.org/