Re: Proxy Objects & Interfaces In DBussy

rony <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization WU Wien
Message-ID <[email protected]>
On 24.05.2017 14:32, Simon McVittie wrote:

> On Wed, 24 May 2017 at 23:26:34 +1200, Lawrence D'Oliveiro wrote:

... cut ...

> Relying on introspection also adds extra, hidden method call round-trips,
> which have a measurable impact on performance (demonstrated in Will
> Thompson's experiments with removing introspection from telepathy-gabble's
> automated tests).
>
> If Introspect() is called synchronously, like any other synchronous method
> call it will block the main loop, and can result in message re-ordering[1],
> which in the worst case can break the intended semantics of D-Bus APIs.
>
> Introspection is mostly a development and debugging feature, and ideally
> nothing would rely on it at runtime.

For dynamic languages it is very important (and many times a boon) to have the introspection
facility available at runtime. A single implementation can then be used to add proper interfacing to
any DBus service at runtime. If done properly, it should not block anything.

---rony

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
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.