From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 29 Jul 2008 10:52:14 +0200 From: Enrico Weigelt To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080729085214.GA3072@nibiru.local> References: <20080717142135.539A31E8C1C@holo.morphisms.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080717142135.539A31E8C1C@holo.morphisms.net> User-Agent: Mutt/1.4.1i Subject: Re: [9fans] mmap Topicbox-Message-UUID: f3b10bf0-ead3-11e9-9d60-3106f5b1d025 * Russ Cox wrote: Hi, I don't know much of native plan9 (only using plan9port), but IMHO an full mmap() is a really nice thing. It can make a lot things easier if you just map the whole file into the process' memory and let the kernel handle the actual IO. Some time ago I hacked up a little XML-based database (just to show myself that it needn't to be that ugly slow as Xindice ;-)), and being able to conveniently work with pointers instead of ugly seek() made really fun ;-P cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: info@metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------