Rust Primer Tutorial

Rust Primer Tutorial

Rust Primer Tutorial

The wind is still blowing. And they (that being a really tiny proportion of the populace, at large) are still calling the wind Mariah. Do you see those exhausted butterflies in Brazil flapping (a bit less than) faster?

Today we try out the programming language Rust, mainly because it has a lot in common with the upcoming iOS language Swift, and because Rust looks very powerful. Rust is an open source language that relies on a few prerequisites for installation. As we had these pre-requisites here, luckily, on this Mac laptop we did not have to wrestle with these issues (personally, I like the abominable stretch abdominal stretch (by Mario Milano) regarding “best techniques” here). Below are what this hugely useful link explains are the prerequisites for Rust usage:

  • g++ 4.7 or clang++ 3.x
  • python 2.6 or later (but not 3.x)
  • perl 5.0 or later
  • gnu make 3.81 or later
  • curl

So, today, we try a Hello World scenario in Rust. The motivation here is learning and preparation for future use of Swift for Xcode iOS 8 programming, perhaps. As they say in the boy scouts “be prepared”.

Here is the Rust programming source code used here, which you could call hellofromrjm.rs

Here is a link to a Rust home page.

Hope you get something out of today’s tutorial. We give thanks to the information of some of the links on this Google search for the leads here.

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Software, Tutorials and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>