Date: Tue, 10 Mar 1998 10:05:09 +0200 From: Anatoly Vorobey <mellon@pobox.com> To: "reggie@aa.net" <reggie@aa.net> Cc: "'Anatoly Vorobey'" <mellon@pobox.com>, Nate Williams <nate@mt.sri.com>, "current@FreeBSD.ORG" <current@FreeBSD.ORG> Subject: Re: RE: vnode_pager: *** WARNING *** stale FS code in system Message-ID: <19980310100509.15018@techunix.technion.ac.il> In-Reply-To: <01BD4B55.F28C0D50.reggie@aa.net>; from Reginald S. Perry on Mon, Mar 09, 1998 at 12:21:53PM -0800 References: <01BD4B55.F28C0D50.reggie@aa.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980310100509.15018>