LWN.net Logo

sight

sight

Posted Jan 4, 2006 21:40 UTC (Wed) by DiegoCG (guest, #9198)
In reply to: sight by tzafrir
Parent article: Command-line AbiWord

DCOP/dbus can work without X - several non-graphic KDE programs use it. The fact that kwork needs X still doesn't beats my point: Why abiword just doesn't use dcop/dbus? Seems like a lot of wheel reinventing to me :/


(Log in to post comments)

sight

Posted Jan 5, 2006 4:23 UTC (Thu) by elanthis (subscriber, #6227) [Link]

A "lot" of wheel reinventing didn't likely happen. There's a big difference between a small simple protocol used by one application and what D-BUS or DCOP do. This Abiword tool needed only a teeny tiny fraction of what D-BUS is made to handle.

I wouldn't be surprised if the code to use this custom protocol is smaller than the code it would take to hook up to D-BUS. I've written a number of simple message protocols like this and they generally take only a few dozen lines of code at most.

This also means that Abiword doesn't have a direct D-BUS dependency, and keeping dependencies down seems to be something Abiword developers like to do.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.