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!

  • @sheogorath
    link
    141 year ago

    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]
      link
      fedilink
      71 year 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]
      link
      fedilink
      English
      61 year 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.