This final APL topic addresses programming for memory safety, and in particular the techniques used in the Rust language. Rust is a fairly recent language, designed for “safe systems programming”: providing low-level precise control for programmers, minimal execution overheads, and promises about correct use of memory and threads. In this short introductory lecture I covered the basics of Rust, and gave a few small indications of how its C-like appearance masks a quite substantial effort to do things differently.
- Home page for the language, with some good descriptions of features and what they aim to provide. Have a look at the endorsements from the Friends of Rust — hover over logos and click the links.
- The Rust Programming Language
- Straightforward description of the language with a good supply of examples.