Programming Bluetooth LE Using Rust

Rust is a young programming language that has a low overhead like c/c++ without the associated memory management complexities. It’s cross platform and compiles for Linux, macOS and Windows. Rust is compiled rather than interpreted so achieves c/c++ like performance and is ideal for use with IoT on resource constrained devices.

Rust was originally came out of Mozilla Research and very recently became independent though it’s own non-profit foundation, the Rust Foundation.

Given that rust is ideal for IoT, it’s also suitable for use in projects interfacing with Bluetooth LE. Rust extensions are provided by Cargo, the Rust package manager that downloads crates from crates.io. There are many creates for Bluetooth including rumble, blurz and an amalgamation of libraries btleplug.