from Hacker News

Rust 101

by silcoon on 4/10/24, 9:24 AM with 6 comments

  • by hbcondo714 on 4/10/24, 10:34 PM

    There is also rust-script[1] which runs "Rust files and expressions as scripts without any setup or compilation step." I wrote a data loader[2] in it for my Observable Framework project and have been very happy with its performance and overall ease including hot-reloading.

    [1] https://rust-script.org

    [2] https://observablehq.com/framework/loaders#routing

  • by Charlie_e on 4/10/24, 12:25 PM

    Great write up, perfect to share with people who want to know what makes Rust tick before/without learning it more thoroughly.
  • by samuelec on 4/10/24, 12:22 PM

    What about lifetimes?