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!

  • Buttons@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 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.