News for hackers. Stuff that matters.
Re:A review after using Rust on embedded in production for o... by sshine on Monday October 14, 2024 @04:52AM (#41835573)
> There are two dialects of Rust. One can be written immediately by beginners, the other is for experts.

I believe it's more like a spectrum.

I'm 3 years into my Rust career.

I started with .clone() everywhere.

Then I moved on to write highly async code with tokio and std.

Now I'm somewhere entirely unfamiliar, writing highly portable no-std Rust for bare-metal and wasm.

It takes some time to know the difference between std and core.

It takes some effort to write modular, allocation-free code (static allocations only).

It takes some rediscovery of what crates will work for you.

It's a steep curve, and I don't imagine everyone likes it.

Re:A review after using Rust on embedded in production for o... by j-krieger on Tuesday October 22, 2024 @12:14PM (#41915810)
Now with the Error trait in core, I'm hoping for `no-std` versions of `thiserror` and `anyhow`.