2 ms·
I wish this was done in C so I didn't have to learn Rust. But maybe it is time to learn Rust.
by fracus 1y ago
I wish this was done in C so I didn't have to learn Rust. But maybe it is time to learn Rust.
- dralley 1y agoRust isn't that difficult really. Easier in many ways than C if you're building normal software and not, like, a library of fancy data structures.
- jeroenhd 1y agoThis is using rusb, a Rust wrapper around libusb. libusb is still written in plain old C: https://libusb.info/ https://libusb.info/ If you don't want to learn a different programming language, you can take the exact same approach in any language you prefer and play along. You may need to turn the more object oriented calls into libusb_* calls, but if you're used to programming in C you probably won't have a problem getting that to work.