this post was submitted on 28 Dec 2023
110 points (96.6% liked)

Rust

5651 readers
11 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Traits now support async fn and -> impl Trait (with some limitations), the compiler got faster, version = in Cargo​.toml is now optional, and many small functions have been stabilized!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 29 points 8 months ago (1 children)

Nice! Just in time for my yearly "I should finally learn rust" and then forget about it a week later habit.

[–] [email protected] 14 points 7 months ago (2 children)

I kept reading the same few chapters of the rust book. It's a yearly ritual for me. Same as installing Bethesda games and the Sims and just playing a few hours before uninstalling.

[–] [email protected] 7 points 7 months ago

Haha also yearly for me. I have actually written a small utility in rust that interacts with mysql, but it was basically just transposing python to rust, plus it's hacky as hell and I didn't really learn anything.

I've stuck that rust book in the "one day" silo, along with the guitar, learning French, eating healthy, and getting enough sleep. One day.

[–] [email protected] 6 points 7 months ago

Build a ray tracer in Rust. Follow something like Ray Tracing in One Weekend. Don't be scared that the example code is in C, translating it to Rust is easy enough and is part of the learning process; it's good that you can't just copy paste.