Re: dynamic linking

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.package
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Uwe Ohse <[email protected]> wrote:
> On Sun, Jun 09, 2002 at 04:45:08PM -0400, Paul Jarc wrote:
>> Structured data can be passed in and out, unlike
>> with pipes between separate programs, where parsing is needed.
>
> This has nothing to do with shared libraries and / or with pipes.
> In fact this sentence makes no sense at all.

If you want to exchange structured data with other code, and you're
communicating with that code via pipes, then you must use parsing
(when reading) and quoting (when writing) to serialize the data over
the pipe.  OTOH, with shared libraries, you can just pass pointers to
structures; no serialization is needed.


paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.