From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] dynamic loading, was "Ugly Q, I admit" Message-ID: <20021128071219.P6790@cackle.proxima.alt.za> References: <105aa6fd715cf3e943821ac043f3cf7d@plan9.bell-labs.com> <027601c295dc$38b73630$c901a8c0@cc77109e> <20021127153154.M6790@cackle.proxima.alt.za> <036701c29644$90638920$c901a8c0@cc77109e> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <036701c29644$90638920$c901a8c0@cc77109e>; from Bruce Ellis on Wed, Nov 27, 2002 at 01:41:07PM -0500 Date: Thu, 28 Nov 2002 07:12:20 +0200 Topicbox-Message-UUID: 2999a438-eacb-11e9-9e20-41e7f4b1d025 On Wed, Nov 27, 2002 at 01:41:07PM -0500, Bruce Ellis wrote: > > dynamic loading and shared libraries are distinct (put related) beasts. > the work i did was for dynamically loadable device drivers for inferno. > it's kinda cool. the initial kernel is tiny, even by inferno standards, > and then other drivers are loaded to customize the experience > (typically i load cap ssl kfs and sd). i also use it to load drivers > that are used on occasion, like kprof or a generic systest. > the interface is via devdynload. > I remember loadable device drivers being mooted a while back. I like the idea a lot, although it seems backwards to me: repeating the bootstrap stuff in the kernel always struck me as evil, if unavoidable. Ideally you'd want to "load" at least some kernel drivers by inheriting them from the bootstrap loader. I'm not sure that the difference can't be minimised almost to nothingness. > i've never had much time for shared libraries. given that plan9 does > not have grossly obese libraries the "shared/saved disk/memory" > justification seems marginal. you also avoid a major "single point > of disaster". i believe presotto reported being frightened by > shared libraries (and clowns) as a child. > Shared library are a curse, but until everyone sees them in that light, they'll be with us for a long time to come. It's a fashion thing. > btw e[acl] is the compiler port for the playstation 2 ee5900. > I never even remotely dared hope there'd be Plan 9 for the PS2. Can I start dreaming? Shall I spend some money and offer to help? ++L