Builder (GNOME IDE) using Rust Language Server
blogs.gnome.org/chergert/2016/10/25/builder-r...Posted Oct 26, 2016, 12:46 AM UTC
955
Posted Oct 26, 2016, 12:46 AM UTC
I've already been using Builder for programming Rust in, so first-class support for the language would be especially welcome. If it did, this would mean that in Fedora the compiler and a proper IDE are in the main repos.
How fast is the Rust Language Server at detecting errors? Can it detect syntax errors on the fly?
With the Rust Language Server is in it's pre-alpha stage, and Rust compilation times are a work in progress, I'd recommend being forgiving with expectations.
As both the Rust Compiler gets more efficient with partial compilation and Rust Language Server becomes more stable, on-the-fly syntax checking becomes feasible.
If you have a few minutes, take a look at the roadmap for Rust in 2017.
This is after Federico, one of the devs of librsvg, started looking at porting parts of it to Rust.
Also see this post by one of the main devs of GStreamer, the multimedia framework of GNOME.
GNOME possibly porting libraries to Rust is a very nice development, and could have nice side effects for Rust as well. The GNOME project has a lot of low-level libraries that are widely used, even on other platforms. libxml2 comes to mind, which is used by the popular Ruby library Nokogiri for parsing HTML/XML.
It seems that Rust would be much less arguable choice for a new language for Gnome. From what I've seen Vala is (some love this language for it's similarity to higher level languages like C#, other dislike for lack of safety and implicitness). The strongest pro is that Vala a language specifically for Gnome, where Rust has much bigger community and usages.
Adopting Rust in Gnome would also help with develop Rust eco for desktop GUI applications.