blinry on Nostr: I'm really surprised how pleasant it is to program the firmware in #rust! Because I ...
I'm really surprised how pleasant it is to program the firmware in #rust! Because I *really* don't want to use C/C++ anymore, if I can avoid it…
I love how Cargo helps manage all dependencies and libraries, and how you can write generic drivers using "embedded-hal", a central crate in the embedded Rust ecosystem, which just hit version 1.0:
https://blog.rust-embedded.org/embedded-hal-v1/Big recommendation! :) Also, I'm learning a lot about how the I2C protocol works!
Published at
2024-01-18 18:04:55Event JSON
{
"id": "622cb6f5d8434a88200392dfd165bbad637971425cd61e0d4fb7743a00b2bb32",
"pubkey": "35ca9beb10f6282bdc518bc22ac2966b915af41e372314e89f32f2db4a5a4689",
"created_at": 1705601095,
"kind": 1,
"tags": [
[
"e",
"76408d85c1d731529d902d7827af3d35c940d71374c1f8503c271e928808b491",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"rust"
],
[
"proxy",
"https://chaos.social/users/blinry/statuses/111778273388147404",
"activitypub"
]
],
"content": "I'm really surprised how pleasant it is to program the firmware in #rust! Because I *really* don't want to use C/C++ anymore, if I can avoid it…\n\nI love how Cargo helps manage all dependencies and libraries, and how you can write generic drivers using \"embedded-hal\", a central crate in the embedded Rust ecosystem, which just hit version 1.0: https://blog.rust-embedded.org/embedded-hal-v1/\n\nBig recommendation! :) Also, I'm learning a lot about how the I2C protocol works!\n\nhttps://assets.chaos.social/media_attachments/files/111/778/270/725/975/059/original/751e4c4c06bbc401.png",
"sig": "3bd5bb1c8de29a6d5374e5a70a5d2347b4d33506a72f8fd5fe04c37379d776e77be5a61c0b2d5722253c6aa9f63e413feed12f0c4fa95ed9825cc4424554e4f1"
}