Ask HN: What Got You into Rust?

  • Posted 2 hours ago by cloaky233
  • 1 points
Back in 2024 I was experimenting with prosthetic arms and trying to figure out how to build one with an EMG sensor. The problem I kept running into was that the EMG sensor kept crashing the Arduino IDE. It spat out data at an extremely high rate, and my RAM couldn't keep up with it, being on a potato laptop.

That's when I thought, "Okay, maybe let's try Rust. What's the worst that can happen?" This is the first thing I ever built in Rust: https://github.com/CLoaKY233/serial-plotter

I used a sliding window: keep deleting the oldest values and keep pushing the newer ones onto the graph. It looked a bit like a snake chasing its tail, but it's what actually worked for us later at the Smart India Hackathon 2024 Hardware finals (we didn't win).

Sharing something from back when trying something new and building something new felt exciting. Maybe we'll never get to build things quite the same way again :D So I'd love to hear what got you into Rust, what your first Rust project looked like, and what you've cooked since :>

2 comments

    Loading..
    Loading..