Friday, June 1, 2012

Vala Woes

Having finished classes in France, I'm spending a week in Austria before I return to the United States. Much of this week has been spent working on my Twitter project; however, I'm finding myself frequently frustrated by Vala bugs and lacking documentation.

Vala's bugs often derive from its decomposition to C during its compile step. Vala is supposed to catch any errors that could result in a C error; however, it often fails at this. Right now I'm using an officially-supported binding for the Gnome-Keyring library (gnome-keyring-1); however, the binding doesn't seem to work well in Vala 0.18 as it throws obscure C errors which are sufficiently difficult to debug that I can't justify the debugging time. I think I'm going to have to scrap working with the keyring and 1) try to find another somewhat-easy way to securely store Twitter's OAuth access credentials or 2) use a language with better keyring support (perhaps C#/Mono?).

For the most part, Vala is a really cool language as it is FAST when things work properly. Unfortunately, when things don't work properly, a large development cost is often incurred.