I’m looking to get a lemmy bot figured out for posting sports scores in real-time (or near it) like Reddit had for NHL games. The lemmy api reference states that rust has the api as a loadable library, but I’ve only ever done C/C++ and python. Anything Coursera style to get a basic overview of how to get started in Rust?
I did also see lemmy-bot but it looks like it doesn’t handle post editing at the moment, and not sure i really want to learn how to use npm to be honest.
More votes here for “the book”, it got me through publishing my first community app quite nicely.
I recommend checking out fasterthanlime’s “A half-hour to learn Rust” if you want a brief breakdown of Rust syntax and key features, in addition to The Book and Rust by Example.
In addition to what others have said, rustlings are great. https://github.com/rust-lang/rustlings
If you would like to use this project to learn Rust, go for it! However, there are utilities that will convert Lemmy’s TypeScript to Python. There are also a few Lemmy Python packages on GitHub.
If you have a JetBrains IDE you can install this plugin, which interactively works you through the rustlings course: https://plugins.jetbrains.com/plugin/16631-learn-rust/about
There is a three day Rust course developed by the Android team — Comprehensive Rust