From owner-freebsd-current Tue Mar 10 00:05:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06278 for freebsd-current-outgoing; Tue, 10 Mar 1998 00:05:40 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from techunix.technion.ac.il (mellon@techunix.technion.ac.il [132.68.1.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06269 for ; Tue, 10 Mar 1998 00:05:35 -0800 (PST) (envelope-from mellon@techunix.technion.ac.il) Received: (from mellon@localhost) by techunix.technion.ac.il (8.8.7/8.8.5) id KAA21316; Tue, 10 Mar 1998 10:05:10 +0200 (IST) Message-ID: <19980310100509.15018@techunix.technion.ac.il> Date: Tue, 10 Mar 1998 10:05:09 +0200 From: Anatoly Vorobey To: "reggie@aa.net" Cc: "'Anatoly Vorobey'" , Nate Williams , "current@FreeBSD.ORG" Subject: Re: RE: vnode_pager: *** WARNING *** stale FS code in system References: <01BD4B55.F28C0D50.reggie@aa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <01BD4B55.F28C0D50.reggie@aa.net>; from Reginald S. Perry on Mon, Mar 09, 1998 at 12:21:53PM -0800 X-Disclaimer: I was young, I needed the money! Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You, Reginald S. Perry, were spotted writing this on Mon, Mar 09, 1998 at 12:21:53PM -0800: > On Monday, March 09, 1998 9:46 AM, Anatoly Vorobey > [SMTP:mellon@pobox.com] wrote: > > > > P.S. In fact, the VFS framework (more precisely, one of its > > predecessors, Sun's vnode system) is mentioned in at least one > > book on Java as an example to what pains these poor C programmers > > must go in order to create OOP-like FS interface, and how easily > > you would do that in Java ;) > > > > Actually, wouldn't it be a pain in the butt to do unionFS in Java > because of the lack of multiple inheritance? Not necessarily, since you actually have one "interface" (i.e. VFS); you don't really need multiple inheritance, you need to control several objects of the same class in your implementation. So you lose inheritance and use containment: you have private members which are handles to the FSes you overlay upon. I won't comment, on the other hand, on wisdom of doing _any_ FS in Java... :) -- Anatoly Vorobey, mellon@pobox.com http://pobox.com/~mellon/ "Angels can fly because they take themselves lightly" - G.K.Chesterton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message