Member-only story
Generating sound — a mini project in Rust
A few months ago, I started falling in love with Rust. It’s a beautifully designed, robust systems programming language backed by a lovely helping community (Rustaceans), ingenious compiler features, and rapidly growing adaptation.
The key reasons that made me find Rust so compelling:
- Performance: The zero-cost abstractions, like the ownership and borrowing mechanism, offer you memory safety and high-level features that compile to efficient machine code without extra runtime cost.
- Safety: The Rust compiler makes your code safe by performing intelligent analysis and linting at compile time, preventing most basic errors.
- Usability: Rust is a good fit for all projects, from embedded programming to high-level applications. Thanks to the fantastic community, many crates have got you covered!
Overview
My mini-project idea started as something even smaller. I was exploring different types of functions and trying to plot their graphs using other languages. Since I am now learning Rust, it also entered the experiment queue.
In this article, I’ll present the wave plotter and sound generator crates combined into a single package.