From owner-freebsd-arch@FreeBSD.ORG Tue Feb 26 23:27:49 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF3CB1065671; Tue, 26 Feb 2008 23:27:49 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (hergotha.csail.mit.edu [66.92.79.170]) by mx1.freebsd.org (Postfix) with ESMTP id 84DD713C428; Tue, 26 Feb 2008 23:27:49 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.13.8/8.13.8) with ESMTP id m1QMp70l021710; Tue, 26 Feb 2008 17:51:07 -0500 (EST) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.13.8/8.13.8/Submit) id m1QMp7bV021709; Tue, 26 Feb 2008 17:51:07 -0500 (EST) (envelope-from wollman) Date: Tue, 26 Feb 2008 17:51:07 -0500 (EST) From: Garrett Wollman Message-Id: <200802262251.m1QMp7bV021709@hergotha.csail.mit.edu> To: jhb@freebsd.org In-Reply-To: <200802261524.30384.jhb@FreeBSD.org> Organization: None X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hergotha.csail.mit.edu [127.0.0.1]); Tue, 26 Feb 2008 17:51:07 -0500 (EST) X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on hergotha.csail.mit.edu Cc: arch@freebsd.org Subject: Re: Cleaning up FILE in stdio.. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 23:27:49 -0000 In article <200802261524.30384.jhb@FreeBSD.org> you write: >This is assuming that the contents and layout of FILE are not a >public ABI (i.e. we malloc the things internally and consumers should >just treat the pointer value as a cookie and not grub around in the >internals). Most interpreted languages grub around in the internals, as (historically) do a number of macros. Historically Emacs did so as well (I suppose you can call it an interpreted language). >Comments? I think you have the right idea but this will break the ABI in a way that can't be fudged with symbol versioning. -GAWollman -- Garrett A. Wollman | The real tragedy of human existence is not that we are wollman@csail.mit.edu| nasty by nature, but that a cruel structural asymmetry Opinions not those | grants to rare events of meanness such power to shape of MIT or CSAIL. | our history. - S.J. Gould, Ten Thousand Acts of Kindness