> ----------
> From: Rich Kulawiec[SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 17, 1998 2:49 PM
>
>
> (Geek alert: shared libraries enable executable binaries to use
> less memory than they would otherwise. .....
>
> This is all well and good *except* that when we execute foo and bar
> simultaneously, each running binary has a copy of printf() and
> strcmp()
> inside it, making both larger. It would be nice if there was some
> way for them to share those two routines so that only one copy need
> be in memory. And that's what dynamic linking does: when "foo" gets
> compiled, a reference to printf() and a reference to strcmp() are
> inserted, but not the code itself. When "foo" gets run, the
> Unix/Linux
> kernel detects that it is a dynamically linked executable, and
> resolves the references to point to the actual runnable code
> for printf() and strcmp() -- and that code lives inside a sharable
> version of the C library (libc.so) which is paged in on demand.
>
Can't answer why you felt compelled to write <g> but this raises some
questions in my (admittedly very non-knowledgeable) pea-brain:
How does this relate to Java? That is, I thought part of the
attractiveness of Java was the ability to break things up in to "clumps"
... I've envisioned it as modular -- plug in the parts you need, share
the parts that are common.
Kathy
(who is impressed at the knowledge in this group -- and amazed at the
questions that can trigger it's demonstration!)
> Kathy E. Gill
> DCAC/MRM Production Visibility Support -- 425.234.2004, pager
> 425.568.0195
> A friend is someone who knows all about you and loves you just the
> same.
> ~ Elbert Hubbard
>
> Microsoft Exchange: the perfect name for its users' greatest desire!
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------