Vala and D-Bus

I finally started blogging as some people seem to be interested in what’s going on in Vala land. Now to the topic: Vala and D-Bus. It’s really easy to use D-Bus services from Python, compared to C. There is no reason why it should be more difficult to use D-Bus services from Vala, so I’ve just committed experimental D-Bus bindings to Vala SVN. You don’t need any formal specification of the D-Bus service to get started, just get the object and call methods or connect to signals with the correct parameters. It also supports async method calls with a simple callback system. Future versions will support and recommend static checking against a supplied D-Bus introspection file, currently the compiler just assumes that you know what you’re doing. I’ve added a simple example using the Pidgin D-Bus interface to the wiki.