[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 9p/plumber to replace D-Bus?



2014/12/15 0:28 <berenger.morel@neutralite.org>:
>
>
>
> Le 13.12.2014 05:10, Joel Rees a écrit :
>>
>> 2014/12/13 1:29 :
>>
>>  >
>>  > Le 12.12.2014 16:46, Joel Rees a écrit :
>>  >>
>>  >> I did say it was not the dbus you download from freedesktop.org
>> [2] [5],
>>
>>  >> didn't I? ;-/
>>  >
>>  >
>>  > Indeed.
>>  >
>>  >
>>  >> My understanding is that it is not just a port. Re-written from
>>  >> scratch, I think. Stuff that just tries to be a lazy man's
>> sockets
>>  >> largely left out, I think.
>>  >
>>  >
>>  > I would be more interested to take a look at the alternative's
>> code, than than to the original's. The few tools'code I've seen of
>> same tool but implemented by the net/open/freeBSD and versions I could
>> find in linux, had a huge difference in terms of code clarity.
>>  >
>>  >
>>  >> I would not say that you were exactly wrong. Portability is not
>> just
>>  >> a matter of getting things to compile, and there are some
>> features of
>>  >> dbus that one would just as soon leave out when re-implementing
>> it.
>>  >
>>  >
>>  > Well, maybe dbus itself is not portable, nor clean (I said maybe.
>> Code cleanness is a matter of opinion, and I only have read 2 source
>> files just now) but if there is another implementation around, then at
>> least what it provides can be provided in other systems, eventually in
>> a cleaner way.
>>  >
>>  > Just curious, what's the name of this alternative? I would like to
>> see if it could replace the original, or why not taking a quick look
>> at it's source code. Just to build my own opinion.
>>  >
>>
>> openbsd's website allows you to browse their source. Their dbus would
>> be in their ports (packages) tree, I think. Try looking at dbus* under
>> here:
>>
>> http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/x11/ [3]
>>
>
> From what I can see, it's only a bunch of patches. Probably patches built on original sources, so, well, it's the same implementation with few more patches.
>

I don't think I could call it "only a bunch of patches."

I could comment further after I gain more experience with the way they work, but you'll want to note the comment "in the attic" attached to several of the files in the tree.

--
Joel Rees


Reply to: