I keep looking for a good excuse to learn Vala. Maybe this is it.
I keep looking for a good excuse to learn Vala. Maybe this is it.
It's possible to implement GObject subclasses in Rust which little additional overhead as compared to doing it in C, but you get the syntactical niceties of for each loops, traits, and other features of Rust.
librsvg makes good use of these bindings, and is undergoing a rewrite in Rust. Gstreamer bindings are also becoming more complete, and example implementations of many of the standard plugins have been rewritten. The official implementation is still in C though.
Vala is a neat concept though and a pretty clean language.
https://people.gnome.org/~federico/blog/librsvg-gobject-in-r...
The Vala compiler complains about my code. The Rust one tears it to shreds.
I understand Rust's constructive criticism is coming from a good place, but it's still very harsh ;-)
And is losing support for older CPU architectures as a result.
I really hope we don't see this more before the rust compiler is improved to support older architectures, as otherwise it may become prohibitively difficult to revive older systems...