From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 8 May 2005 18:40:44 -0400 From: Dan Cross To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Sleep-complexity Message-ID: <20050508224044.GA29885@augusta.math.psu.edu> References: <20050508172815.GA29137@augusta.math.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Topicbox-Message-UUID: 46d44224-ead0-11e9-9d60-3106f5b1d025 On Sun, May 08, 2005 at 02:56:15PM -0400, jmk@plan9.bell-labs.com wrote: > > > because long and int are the same so it really doesn't matter. > > > > That's not a terribly great assumption to make, is it? > > It would take a lot of work get get Plan9 to work on a > machine where that isn't the case, and I don't see anyone > jumping up to do it. That's true, but I still wouldn't go as far as sanctioning the practice. Also, a fair amount of Plan 9 code is now running under various other platforms where that's not necessarily the case via plan9ports. Charles's point about the subtleness of type-sizing not withstanding (in the original case, someone was passing an int in place of a long, which would be promoted automatically), it's still something one should be careful about. All the world is no longer a 32-bit 386. - Dan C.