From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 30 Mar 2006 12:46:32 -0800 From: Roman Shaposhnick To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] new compilers Message-ID: <20060330204632.GI17479@submarine> References: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Topicbox-Message-UUID: 282eeef4-ead1-11e9-9d60-3106f5b1d025 On Thu, Mar 30, 2006 at 07:27:32PM +0100, rog@vitanuova.com wrote: > i said: > > no typechecking. > > and this is the part that really bugs me. endless use of void*; if > you get it wrong, who knows what'll happen. the compiler certainly > can't help. Has anybody ever thought about extending the usual file-based interfaces with a typechecking ? I'm not even asking about implementations, more about ideas: you've got /foo/bar/file and you want it to be clearly identified as a receptacle for a certain type of data -- how would you do that (especially with an additional constraint that nobody reads man pages) ? Thanks, Roman.