From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Evans Newsgroups: gmane.lisp.guile.devel Subject: Re: RFC: Foreign objects facility Date: Fri, 2 May 2014 21:57:12 -0700 Message-ID: References: <87bnvm52u6.fsf@pobox.com> <87a9b692ys.fsf@yeeloong.lan> <87oazm3bki.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1399093047 6485 80.91.229.3 (3 May 2014 04:57:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 May 2014 04:57:27 +0000 (UTC) Cc: Mark H Weaver , guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 03 06:57:20 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WgS0k-0005S7-M1 for guile-devel@m.gmane.org; Sat, 03 May 2014 06:57:18 +0200 Original-Received: from localhost ([::1]:47523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgS0k-0007AE-Aj for guile-devel@m.gmane.org; Sat, 03 May 2014 00:57:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgS0g-0007A9-0K for guile-devel@gnu.org; Sat, 03 May 2014 00:57:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgS0f-0003p9-35 for guile-devel@gnu.org; Sat, 03 May 2014 00:57:13 -0400 Original-Received: from mail-yh0-x234.google.com ([2607:f8b0:4002:c01::234]:65104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgS0e-0003p3-V7 for guile-devel@gnu.org; Sat, 03 May 2014 00:57:13 -0400 Original-Received: by mail-yh0-f52.google.com with SMTP id a41so4748730yho.11 for ; Fri, 02 May 2014 21:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MgvgnDMk9v/pgAl/yS+oxf+eS/I4Or6GiZbG1nLnQT4=; b=AhVcxpHtzdOdWMQLRmy8TrXhJJNvA6rjh2yYJSoz10YeKLMnrSMxlGTi+muBE3JotI t7wx8qJRELkWkMBiA/jZuI3ggdhZMvlv3gGVGsRI08pJ/fVJN3yFWEkLekJ93OI/lyfF Nh25L6e8JZmYrBWdwzdJ3KZpr2e4/Kbu88eqolpBtWXA74m2z3ngftQSrpyqMyvt3e62 AE7M3LhKehBVjCpkuAHl7GaZJbqzB9/v35J8v8yJiCSRNG7Jj+BuTQtS8Mz3yFErjnjM A88cseaHZgvFeNv0074X6xghS2CrAH6y7YOILBpPLuB7K37iFNsB8gs4W9+C0wWYFIAr F7kw== X-Received: by 10.236.119.99 with SMTP id m63mr29280804yhh.65.1399093032322; Fri, 02 May 2014 21:57:12 -0700 (PDT) Original-Received: by 10.170.214.130 with HTTP; Fri, 2 May 2014 21:57:12 -0700 (PDT) In-Reply-To: <87oazm3bki.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::234 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17133 Archived-At: On Sun, Apr 27, 2014 at 10:51 AM, Andy Wingo wrote: >[...] >> Portability is more problematic for pointer types. The C standards make >> no guarantees about the semantics of converting between pointers and >> integers, and it's not clear to me how future proof this will be. > > Don't they make some guarantees wrt uintptr_t and intptr_t ? Data point: Yes. One can convert from void * to either of these and back "and the result will compare equal to the original pointer".