I have looked into the relatively new programming language Rust. While doing so I made a graphical application that uses the fibonacci sequence to draw lines. Please see the source code for implementation details, but think of the code as quick and dirty since I just wanted to try out the language while doing a fun small project.

I rather like the ideas behind Rust. These quotes from their book describes it pretty well:

Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector…

…Rust improves on current languages targeting this space by having a number of compile-time safety checks that produce no runtime overhead, while eliminating all data races.

The idea of rust seems to be trying to feel lika a high level language like c#, though faster and safer. Rust also has a tool called Cargo which is used for building the code, downloading the dependencies the code needs, and building those dependencies.

Rust 1.0 was released the 15th of May 2015 so it is a relatively new language. This was most noticable when trying to get the open source graphics libraries to work on Windows. I found Glium which worked directly out of the box and was a OpenGL wrapper that did what I needed. Rust has a few open source projects for graphics engines as well.

Visual Code has added Rust to their supported languages and you are also able to run the compiler from within the editor which is nice. See the Visual Code link below for instructions.

Introduction and book for Rust

Glium - Rust OpenGL wrapper

Using Visual Studio Code with Rust

Rust Google Tech Talks

Rust IDE support

Images