Quantcast
Channel: Planet Ubuntu
Viewing all articles
Browse latest Browse all 17727

Seif Lotfy: Zeitgeist – from Python to Vala

$
0
0

The title says it all… You can read the announcement on Michal Hruby’s blog post. Zeitgeist has been ported from Python to Vala with its latest 0.9 cycle

We started 2 weeks before the desktop summit and are now confident enough to go public alpha with our work. With the focus of the desktop environments shifting to mobiles and handhelds, we were dealing with some resistance in terms of deployments due to Python’s slow start up times. In terms of code and performance Zeitgeist is now in Vala.

For those who don’t know Vala, its source-to-source compiled to C which is then compiled with a platform’s standard C compiler, such as gcc.

It has a noticeable faster start-up time, and less memory consumption than before. A normal Zeitgeist instance that used to run for 2 days using 15-20 MB now uses around 3.5 – 7 MB (this is on my computer though).

Also Zeitgeist now allows you to read (not write) directly from the DB. We will be updating our wrapper libs to support reading from the DB directly soon… This means apps that retrieve data from the DB don’t need to do it over D-Bus. However if you want to push an event into Zeitgeist you will have to do it over D-Bus. More or less you will retrieve your info faster now too…

The only thing not ported yet is the FTS extension but we managed to make it a stand-alone process that reads from the DB directly. We will have a nice awesome port soon so don’t worry. We are also working on an alternative extension with the Tracker guys for the FTS.

The fun part is, all libs are still compatible which means WE DID  NOT BREAK THE API

All your current apps that use Zeitgeist should be able to run normally with this new release. Except for GAJ where we you need to grab the latest code from trunk.

For all you Git lovers another big surprise now is that we got some mirror hosting on freedesktop.org too. We have some manpower to keep launchpad and freedesktop in sync for a while. So for all Ubuntu fans keep using Launchpad. For all you others use Bugzilla :P

This Zeitgeist release has been sponsored by

AND


Last but not least I would like to thank the rest of the always awesome team for making this happen…

Now get it while its hot… Zeitgeist 0.9 Alhpha

We have a little donation button on our website if you feel like donating something to the team http://zeitgeist-project.com/ for the next hackfest

flattr this!


Viewing all articles
Browse latest Browse all 17727

Trending Articles