8 votes

rust_walker: asynchronous randomized large filesystem explorer in Rust

4 comments

  1. [2]
    Soptik
    Link
    Nice code! It looks really tidy and understandable. I didn't even know that you can name loops in Rust. I really like this one.

    Nice code! It looks really tidy and understandable. I didn't even know that you can name loops in Rust.

    I really like this one.

    3 votes
    1. joelthelion
      Link Parent
      Thanks! Yeah, named loops are nice, safe alternative to goto.

      Thanks! Yeah, named loops are nice, safe alternative to goto.

  2. joelthelion
    Link
    A randomized file walker I wrote primarily to learn Rust. The goal is to quickly sample large remote directories (e.g. NFS or SMB). Think find, but in random order. This is useful on very large...

    A randomized file walker I wrote primarily to learn Rust.

    The goal is to quickly sample large remote directories (e.g. NFS or SMB). Think find, but in random order. This is useful on very large directories because find will only show you the first entries, while this can quickly give you a good overview. Since it's asynchronous with Tokio, it's also faster than find for remote directories with high-latency.

    Comments / Code review more than welcome !

    2 votes
  3. skybrian
    Link
    Neat! It might be interesting to pipe it into another command that displays a summarizing dashboard, sort of like top.

    Neat! It might be interesting to pipe it into another command that displays a summarizing dashboard, sort of like top.

    2 votes