Fork me on GitHub

Project Notes

About Rust

Is it a joke, or does everyone seem to have “rust” in mind these days?

Somehow it got voted the most “loved” language in the 2016 stackoverflow survey. Yet is still missing from the “top”, “trending” or “popular” lists.

Rust In a Nutshell

Rust is…

  • designed to be memory safe, and it does not permit null pointers or dangling pointers
  • free and open source - dual-licensed under Apache 2.0 and MIT

Rust has..

  • an object system based around implementations, traits and structured types
  • ad-hoc polymorphism
  • strong typing
  • a reputation for introducing breaking changes and poor documentation

Rust is governed by..

Rust implementations..

  • a single compiler implementation, written in Rust though originally bootstrapped with OCaml
  • the first “stable” version of the Rust, version 1.0.0, was released in May 2015

The Rust ecosystem includes:

  • Cargo - dependency manager and build tool
  • Rustfmt - coding style enforcement
  • The Rust Language Server - IDE integration for code completion and inline error messages

Why Rust?

The goal of Rust is to be a good language for creating highly concurrent and highly safe systems.

Rust solves the three big problems of C/C++ without introducing garbage collection or extensive run-time processing:

  • agreement on memory allocation size
  • agreement on memory ownership and de-allocation
  • agreement on concurrent memory access

Credits and References

About LCK#6 Rust
Project Source on GitHub Return to the Project Catalog

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.