Re: dynamic linking
Uwe Ohse <[email protected]>
| Newsgroups | gmane.comp.djb.package |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 10, 2002 at 11:14:21AM -0400, Paul Jarc wrote: > 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. No. It's easier than that: You just pass a byte counter and the data. > OTOH, with shared libraries, you can just pass pointers to > structures; no serialization is needed. You can't pass pointer between applications. Shared libraries under unix share code, not data. This is not windows. Regards, Uwe