LWN.net Logo

standard mechanism for exchanging objects

standard mechanism for exchanging objects

Posted Jun 25, 2008 4:57 UTC (Wed) by jreiser (subscriber, #11027)
In reply to: Hotwire: a combined terminal/GUI for GNU/Linux (Free Software Magazine) by nix
Parent article: Hotwire: a combined terminal/GUI for GNU/Linux (Free Software Magazine)

(The real problem here is that Unix has a standard mechanism for exchanging text streams, but none for exchanging objects ...

On the contrary: fork(), then dlopen(). The objects persist, the manipulators come and go, the schema control can be written any way you please. [You need a much better debugger than gdb, but that's nothing new...]


(Log in to post comments)

standard mechanism for exchanging objects

Posted Jun 25, 2008 10:18 UTC (Wed) by nix (subscriber, #2304) [Link]

The problem is that fork()-then-dlopen() gives you objects only in the C sense. There's no
standard mechanism for exchanging objects with defined lifetimes and so on (not least because
every language defines those differently: they don't define text-stream-exchange differently,
because the OS dictates that.)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds