From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <20110810220404.D6021B827@mail.bitblocks.com> Date: Thu, 11 Aug 2011 09:15:09 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] simple venti demo: Topicbox-Message-UUID: 0ea52fec-ead7-11e9-9d60-3106f5b1d025 OK, there is a go version that lucho wrote: https://code.google.com/p/govt/ It's very nice code. There will soon be a googlecode repo (lucho is setting it up now) with a non-plan9-ports version (vtmm). Find it in googlecode at libvt. It's also quite nice and much more capable than what I posted yesterday. We now have 3 very simple implementations of venti. I hope people look at this stuff. I think it makes the concepts of venti much more accessible. Note a difference between lucho and me: I ignore vtsync (I always sync on writes) and he properly pays attention to it. Question for the student: which one is better? Why? Could we make little venti files and finally try to build an SCM using these files? Have fun! ron p.s. while you can't run this on plan9 for anything big (you need to be able to have processes that can get bigger than 4G) you will be able to run it in small scale on Plan 9 and bigger on nix. You'll have to remove the use of mmap and replace the msync with writes to a file, but that's pretty trivial. A good project for someone.